问题
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