Software Archive
Read-only legacy content
17061 Discussions

How do I change version code for android?

Sudeep_V_
Beginner
352 Views

I'm using the latest version of Intel XDK to create android apps.

I just uploaded an android .apk file to google play (production) and realized it was the earlier verion of the file. However, I now can't update it on the store. It continually gives me this error:

Upload failed You need to use a different version code for your APK because you already have one with version code 1

But I've tried changing the app version # in the project build settings & looked at the .xdk config file, etc.

So I'm stuck with an app that has a bug out there & don't know how to change it.

Any suggestions would be GREATLY appreciated.

Thanks

0 Kudos
2 Replies
Michael_C_Intel2
Employee
352 Views

Hi Sundeep,

I have moved your post to the Intel XDK forum so you can the answer you need.

-Michael

0 Kudos
John_H_Intel2
Employee
352 Views

You will need to update the version number in the build settings in the XDK, then reupload and rebuild your app. From there you should have no issues uploading your apk to the play store.

0 Kudos
Reply