How do I change the id of my IONIC application to add to the Google Play Console?

1

I'm trying to publish my app to the Google Play Console, but the following message appears when I add the SDK.

  

Use a different package name. "io.ionic.starter" already exists on Google Play.

But in my config.xml file, my id is like this.GuideCorretor.starter

My question is if I can change this without harming everything I've done so far, like keytool and generating the apk with the license ...

    
asked by anonymous 20.07.2018 / 04:37

1 answer

2

As you have already changed the config.xml the next step is to remove and add the target platform in the command promp through the following commands:

ionic corodova platform rm android

then add again

ionic cordova platform add android

at the end execute the build procedure

ionic cordova build android --release --prod

subscribe to apk with jarsigner.exe and compact the apk with zipalign.exe

Good luck!

    
25.07.2018 / 03:34