When I trying to upload my app on google play, this errormessage is displayed:
You need to use a different version code for your APK because you already have one with version code 1.
Im downloading my APK from my phonegap build.
My question is:
In what file can I change the version number?
I have tried to change in androidmanifest.xml, Version code and Version name
Thanks!
You should specify the version code attribute in the "config.xml", Note that version code attribute should be like that android-versionCode="2" , as shown in below example:
<?xml version='1.0' encoding='utf-8'?>
<widget id="ca.anything.anything.any"
android-versionCode="2"
version="1.0.3"
xmlns="http://www.w3.org/ns/widgets"
xmlns:cdv="http://cordova.apache.org/ns/1.0"
xmlns:rim="http://www.blackberry.com/ns/widgets">
<name>Application Name</name>
....
</widget>
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