将基于 Ionic 构建的 apk 上传到 Google Playstore 时出错

将基于 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.

您需要使用不同的包名称,因为io.ionic.starter"已存在于 Google Play 中.

这是我第一次将基于 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.而不是重建发布签名的apkzipalign.并尝试重新上传.

here com.test.myapp is your app's bundle id. than rebuild release signed apk and zipalign. and try to upload again.