com.example is restricted” when uploading APK to Play Store

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"
Subscribe
Notify of
guest

This site uses Akismet to reduce spam. Learn how your comment data is processed.

0 Comments
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x