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

前端 未结 5 1602
悲&欢浪女
悲&欢浪女 2020-12-09 10:32

I am trying to upload my finished android app to the android market and I am getting this error:

You need to use a different package name because \"com.examp         


        
5条回答
  •  悲&欢浪女
    2020-12-09 10:37

    The best way to solve this is by going to the AndroidManifest.xml: package="com.example.android.yts"

    Cursor on example

    press

    Shift+f6

    change Package name eg. example to boss Click on refactor now `"com.boss.android.yts"``

    2nd thing

    open build.gradle (module:app) change applicationId "com.example.android.yts" to "com.boss.android.yts"

提交回复
热议问题