When I change the version
in my config.xml
, the internal Android versionCode
ist not updated to the new value. Android Console is always showing an error because "I already have an App with that versionCode on the Play Store".
I've also tried the following things in config.xml
<widget ... version="1.1.4" versionCode="10104" android-versionCode="10104" ...>
<platform name="android">
<preference name="android-manifest/@android:versionCode" value="114" />
</platform>
Doesn't work. The versionCode
stays the same.
UDPATE: I deleted the Android platform and re-added it, now it works!
Changing VersionCode manually is not a good idea , You should only change version in config.xml,after that run
ionic build --release android
It will automatically update your AndroidManifest.xml.Make sure if version code is updated before publishing your app to play store.
Thanks
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With