When I tried to upload my app to the android play store I got an error message which is "You need to use a different package name because "com.example" is restricted"
. So I went to eclipse and looked for packages named com.example
.
These are the contents of the only two folders with packages:
/ src
myapp.mainclass
/ gen
com.example.myapp *
myapp.mainclass
*com.example.myapp
seems to be the reason I'm getting the error message, it's identical to myapp.mainclass
. However I cannot delete it or re factor it, every time I remove it it's auto-generated again so there is no way I can upload the app to the Play Store, since com.example is impossible to remove.
Anyone encountered this issue or has any ideas on how to upload the app?
After renaming your package in src folder, rename it also in the AndroidManifest.xml
with the same name.