简体   繁体   English

在Play商店上载APK时出现问题

[英]problem while uploading apk on play store

When I upload my apk on the playStore(release in alpha), I am getting this error: 当我将我的APK上传到playStore(以Alpha发行)时,出现此错误:

Upload failed 上传失败
You need to use a different package name because [name of package] is used by a pre-installed application. 您需要使用其他软件包名称,因为[软件包名称]已由预安装的应用程序使用。 To upload a pre-installed application, please contact Google Play Developer Support. 要上传预安装的应用程序,请联系Google Play开发者支持。 Learn more. 学到更多。

However, it is my first release and no one is using this package name. 但是,这是我的第一个发行版,并且没有人使用此软件包名称。 Last thing, the version code is 1531. Maybe is it due to that? 最后,版本代码是1531。也许是由于这个原因吗? FOr the first release, I have to set it to 1? 还是第一个版本,我必须将其设置为1?

There exists other application with the same package name for sure. 当然,存在其他具有相同程序包名称的应用程序。

You can refactor-rename your package name, and make it sure that changes reflect in a manifest file, Proguard configuration etc. 您可以重构-重命名您的软件包名称,并确保更改反映在清单文件,Proguard配置等中。

将您的软件包名称复制到清单文件<package="com.example.myapplication">ctrl + shift + R输入您的旧软件包名称并替换为新的软件包名称。

Your application is having the same named package, which is already used by some other app on play store. 您的应用程序具有相同的命名包,而Play商店中的其他一些应用程序已经使用了该命名包。

The solution is to change the package name using refactoring. 解决方案是使用重构更改程序包名称。 It will change your package name. 它将更改您的包裹名称。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM