Error while uploading apk built on Ionic to the google playstore

风格不统一 提交于 2020-12-09 02:28:02

问题


I find the following error while trying to upload my zip aligned apk onto the google play store.

You need to use a different package name because "io.ionic.starter" already exists in Google Play.

This is my first time uploading an application built on ionic to the playstore.


回答1:


Google play store already having app published with bundle io.ionic.starter

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">

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




回答2:


That refers to the Bundle ID. Basically, it's a universally unique identifier for your app. Change the id property on line 2 of config.xml to a new Bundle ID. You can use this as a guide (it says iOS, but the same principle applies to Android): https://pspdfkit.com/guides/ios/current/faq/what-is-a-bundle-id/



来源:https://stackoverflow.com/questions/45046983/error-while-uploading-apk-built-on-ionic-to-the-google-playstore

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!