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

99封情书 提交于 2019-12-11 21:01:18

问题


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


回答1:


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 .




回答2:


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"



回答3:


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



来源:https://stackoverflow.com/questions/25086482/intel-xdk-cant-increase-version-number-for-google-play-store-to-load-later-a

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!