com.example is restricted” when uploading APK to Play Store
Limited Time Offer!
For Less Than the Cost of a Starbucks Coffee, Access All DevOpsSchool Videos on YouTube Unlimitedly.
Master DevOps, SRE, DevSecOps Skills!
Error
You need to use a different package name because 'com.example' is restricted.
Solution:
In Android Studio after renaming Package then go “build.gradle (Module:App)
defaultConfig {
applicationId "com.example.android.abc"
minSdkVersion 9
targetSdkVersion 22
versionCode 1
versionName "1.0"
}
change the line
applicationId "com.example.android.abc"
to
applicationId "com.tanxe.android.abc"