android - Your APK's version code needs to be higher than xxx phonegap -


i using phonegap deploy apps on itunes , google play.my config file looks this

<widget  xmlns="http://www.w3.org/ns/widgets"  xmlns:gap="http://phonegap.com/ns/1.0"  id="com.crondale.tippnett"  version="1.1.13"> <name>tippnett</name> <description>tippnett er et system å som bidrar til bedre massebalanse.    systemet finner anlegg nærheten med motsatt massebehov. det bidrar til kortere kjørelengde og raskere anleggsutførsel. du sparer penger, tillegg til @ miljøet blir spart co2 utslipp.</description> <author href="http://www.crondale.com" email="support@crondale.com">crondale</author> <content src="index.html" /> <access origin="*" />  <preference name="splashscreen" value="screen" /> <preference name="windows-target-version" value="8.0" /> <preference name="windows-phone-target-version" value="8.1" /> <preference name="target-device" value="universal" />     <platform name="android">     <preference name="orientation" value="portrait" /> </platform>  <platform name="ios">     <preference name="orientation" value="portrait" /> </platform>  <preference name="android-build-tool" value="gradle" />  <gap:plugin name="cordova-plugin-whitelist" source="npm" version="1.0.0" /> <gap:plugin name="cordova-plugin-device" source="npm" version="1.0.1" /> <gap:plugin name="cordova-plugin-inappbrowser" source="npm" version="1.4.0" /> <gap:plugin name="cordova-plugin-network-information" source="npm" version="1.2.1" />  <gap:plugin name="cordova-plugin-geolocation" source="npm"/>  <icon src="icon.png" /> <icon src="res/icons/android/icon-36-ldpi.png" gap:platform="android" gap:qualifier="ldpi" /> <icon src="res/icons/android/icon-48-mdpi.png" gap:platform="android" gap:qualifier="mdpi" /> <icon src="res/icons/android/icon-72-hdpi.png" gap:platform="android" gap:qualifier="hdpi" /> <icon src="res/icons/android/icon-96-xhdpi.png" gap:platform="android" gap:qualifier="xhdpi" /> <icon src="res/icons/ios/icon-40.png" gap:platform="ios" width="40" height="40" />  <icon src="res/icons/ios/icon-40-2x.png" gap:platform="ios" width="80" height="80" />  <icon src="res/icons/ios/icon-60.png" gap:platform="ios" width="60" height="60" />  <icon src="res/icons/ios/icon-60-2x.png" gap:platform="ios" width="120" height="120" />  <!-- ipad -->  <icon src="res/icons/ios/icon-76.png" gap:platform="ios" width="76" height="76" />  <icon src="res/icons/ios/icon-76-2x.png" gap:platform="ios" width="152" height="152" />  .... </widget> 

but when try upload apk file on google developer console error

your apk's version code needs higher 3718. 

the current version of app 3718 , version 1.1.12.

not version 1.1.13 apparently apk uploading having version 3718. how fix that? didn't had before.

cordova v5 generates android:versioncode=xxxxxx in 6 digits in latest cordova v6 generating 5 digits versioncode , lower. need add in config.xml , update manually generate exact want.

<widget id="com.xxx.xxx"  android-versioncode="300001" version="3.0.1"> 

hope solve problem.


Comments

Popular posts from this blog

java - Jasper subreport showing only one entry from the JSON data source when embedded in the Title band -

serialization - Convert Any type in scala to Array[Byte] and back -

SonarQube Plugin for Jenkins does not find SonarQube Scanner executable -