Software Archive
Read-only legacy content

How do I change version code for android?

Sudeep_V_
初学者
1,758 次查看

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 项奖励
2 回复数
Michael_C_Intel2
1,758 次查看

Hi Sundeep,

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

-Michael

0 项奖励
John_H_Intel2
员工
1,758 次查看

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 项奖励
回复