Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Error while uploading apk built on Ionic to the google playstore

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.

like image 925
rishi iyer Avatar asked Jul 12 '17 01:07

rishi iyer


2 Answers

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.

like image 158
Sohan Avatar answered Sep 27 '22 22:09

Sohan


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/

like image 45
wilsonhobbs Avatar answered Sep 28 '22 00:09

wilsonhobbs