How to set the version code for submitting an application to Google Play.

Asked 2 years ago, Updated 2 years ago, 95 views

I built the app in ARM version using cordova 5.2.0.

The app version code generated at this time is not larger than the version code you created before, so you cannot submit it to Google Play.

How can I solve this problem?

android cordova

2022-09-30 19:17

1 Answers

I think you can change it by specifying "android-versionCode" in the config.xml widget tag as shown below.

<widget id="io.cordova.hellocordova"
  version = "0.0.1"
  android-versionCode="7"
  ios-CFBundleVersion="3.3.3">

■Cordova Documentation Link
https://cordova.apache.org/docs/en/4.0.0/config_ref/ #link-2


2022-09-30 19:17

If you have any answers or tips


© 2024 OneMinuteCode. All rights reserved.