Ionic / Cordova does not update Android version of Code

When I change versionin mine config.xml, the internal Android is versionCodenot updated to the new value. The Android console always shows an error, because "I already have an application with this version code in the Play Store."

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

Does not work. versionCoderemains unchanged.

Udpate . I uninstalled the Android platform and added it again, now it works!

+4
source share
2 answers

VersionCode - . config.xml,

ionic build --release android

AndroidManifest.xml. , .

+1

, run android ionic ionic build android, , , , : proyect/platform/android/AndroidManifest.xml,

, . !

0

Source: https://habr.com/ru/post/1657627/


All Articles