rob151
Aspiring developer
Profile
Posts: 40
Reg: Feb 14, 2012
london
2,250
06/11/12 01:29 PM (13 years ago)

How do i change the version code

How do i change the version code
 
ceerup
Code is Art
Profile
Posts: 1033
Reg: Oct 10, 2011
New York City
16,380
like
06/11/12 01:32 PM (13 years ago)
in your androidmanifest.xml you will see version code android:versionCode="1" android:versionName="1.0"> change the version code to 2, and the version name to something like 1.1 and then when you continue on to update your app in the future, it will keep going up, example 1.3, 1.4 version code 3 etc
 
rob151
Aspiring developer
Profile
Posts: 40
Reg: Feb 14, 2012
london
2,250
like
06/11/12 01:34 PM (13 years ago)
Thanks changed it
 
GoNorthWest
buzztouch Evangelist
Profile
Posts: 8197
Reg: Jun 24, 2011
Oro Valley, AZ
1,000,000
like
06/11/12 01:34 PM (13 years ago)
Yeah, it's kinda weird. The versionName is what people see, but it's the versionCode that Google requires be incremented from version to version! As long as versionCode is higher than the previous version of the app, than Google is happy. And you can put whatever you want in versionName. Mark
 
ceerup
Code is Art
Profile
Posts: 1033
Reg: Oct 10, 2011
New York City
16,380
like
06/11/12 01:36 PM (13 years ago)
yea i noticed that too Mark
 
rob151
Aspiring developer
Profile
Posts: 40
Reg: Feb 14, 2012
london
2,250
like
06/11/12 01:38 PM (13 years ago)
Its now saying I have to sighn it with the same certificats as the previous version but I have changed pc is ther anyway round this
 
Fred@mySkylla com
Android Fan
Profile
Posts: 5259
Reg: Oct 03, 2011
location unknow...
62,560
like
06/11/12 01:48 PM (13 years ago)
No, you must use same signing certificate. Fred
 
Fred@mySkylla com
Android Fan
Profile
Posts: 5259
Reg: Oct 03, 2011
location unknow...
62,560
like
06/11/12 01:50 PM (13 years ago)
Have you published app in Google Play? Fred
 
GoNorthWest
buzztouch Evangelist
Profile
Posts: 8197
Reg: Jun 24, 2011
Oro Valley, AZ
1,000,000
like
06/11/12 01:52 PM (13 years ago)
If you can get your release.keystore from your previous PC..the same keystore you used to sign your original app, then you'll be good. Otherwise, you'll have to publish it as a new app. You can only update versions if you use the same keystore to sign it with. Mark
 
rob151
Aspiring developer
Profile
Posts: 40
Reg: Feb 14, 2012
london
2,250
like
06/11/12 01:55 PM (13 years ago)
How do I do that mark would e great full of your help
 
GoNorthWest
buzztouch Evangelist
Profile
Posts: 8197
Reg: Jun 24, 2011
Oro Valley, AZ
1,000,000
like
06/11/12 02:10 PM (13 years ago)
You'll have to get on your old computer, find the keystore, and copy it to your new one.
 
rob151
Aspiring developer
Profile
Posts: 40
Reg: Feb 14, 2012
london
2,250
like
06/11/12 02:10 PM (13 years ago)
oh ok if its that easy it should be simple then
 
GoNorthWest
buzztouch Evangelist
Profile
Posts: 8197
Reg: Jun 24, 2011
Oro Valley, AZ
1,000,000
like
06/11/12 02:12 PM (13 years ago)
Yep, assuming you know where it is, and what it's called! Once you find it, put it someplace safe, so you know where it is in the future. I keep mine on DropBox, so I can access it from any computer.
 
rob151
Aspiring developer
Profile
Posts: 40
Reg: Feb 14, 2012
london
2,250
like
06/11/12 02:57 PM (13 years ago)
Thanks for your help mark, ceerp and fred have published it now!!!!!!!
 
GoNorthWest
buzztouch Evangelist
Profile
Posts: 8197
Reg: Jun 24, 2011
Oro Valley, AZ
1,000,000
like
06/11/12 02:58 PM (13 years ago)
Sweet! Did you find your old keystore?
 
rob151
Aspiring developer
Profile
Posts: 40
Reg: Feb 14, 2012
london
2,250
like
06/11/12 02:59 PM (13 years ago)
Yea fortunatly i xtill have the old pc and remembered were I saved it
 

Login + Screen Name Required to Post

pointerLogin to participate so you can start earning points. Once you're logged in (and have a screen name entered in your profile), you can subscribe to topics, follow users, and start learning how to make apps like the pros.