INTEL XDK - can't increase version number for google play store to load later .apk file

StackOverflow https://stackoverflow.com//questions/25086482

  •  02-01-2020
  •  | 
  •  

Question

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

Was it helpful?

Solution

Later versions of the XDK allow it to be set in the Projects tab? If it's not there, you have to change it manually as you mentioned in the config xml .

OTHER TIPS

I think you want to change the internal version code for the playstore, showing users can update. You can assign it through the android manifest tag (posted below as plain text)

<manifest xmlns:android="http://schemas.android.com/apk/res/android"
    package="com.example.native_activity"
    android:versionCode="1"
    android:versionName="1.1"

You'll have to update the following (found under Build Settings) to fix this issue;

  1. App Version
  2. App Version Code

Here's the tutorial that helped me fix this issue; https://www.scirra.com/tutorials/1249/how-to-update-your-app-on-google-play

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top