将基于Ionic的APK上传到Google PlayStore时出错
问题描述:
当我尝试将zip对齐的apk上传到Google Play商店时,发现以下错误.
I find the following error while trying to upload my zip aligned apk onto the google play store.
您需要使用其他程序包名称,因为Google Play中已经存在"io.ionic.starter".
这是我第一次将基于ionic的应用程序上载到Playstore.
This is my first time uploading an application built on ionic to the playstore.
答
Google Play商店已经发布了捆绑销售商品为io.ionic.starter
Google play store already having app published with bundle io.ionic.starter
您可以转到config.xml并更改包ID,例如:
you can go to your config.xml and change your bundle id like:
<widget id="com.test.myapp" version="0.0.1" xmlns="http://www.w3.org/ns/widgets" xmlns:cdv="http://cordova.apache.org/ns/1.0">
此处com.test.myapp
是您的应用程序的捆绑软件ID.而不是重建release signed apk
和zipalign
.然后尝试再次上传.
here com.test.myapp
is your app's bundle id. than rebuild release signed apk
and zipalign
. and try to upload again.