I went to publish my first android app from Android Studio. When I went to upload to Google Play, I got this error:
Upload failed: You need to use a different package name because "com.example" is restricted.
When I renamed the package name, it still gave me the error message. I tried making a new package and moving everything to that, but the error still persists. I've deleted any trace of the com.example package. I also made sure to change the Android Manifest.xml to the new package.
The only thing that still says the old package name is the BuildConfig.java, which contains this line followed by the rest of my old package name:
public static final String PACKAGE_NAME = "com.example"
If someone can please help me and answer to this post, I would greatly appreciate it. I'm using Ubuntu Linux 14.04.1.