简体   繁体   中英

Crosswalk-Project version code issue?

I have android app with version code "20100000" and version name "1.0.0" in google play store.

I want to update my new app version but I have a problem about version code.

I have a error "20100000 version code already exist" when update my app.I changed my version code all things but I see always this error.Anybody know how I can change version code ?

manifest.json

{
  "name": "",
  "short_name": "",
  "background_color": "#ffffff",
  "display": "standalone",
  "orientation": "any",
  "start_url": "index.html",
  "xwalk_app_version": "3.5",
  "xwalk_command_line": "",
  "xwalk_package_id": "",
  "xwalk_target_platforms": [
    "android"
  ],
  "xwalk_android_animatable_view": true,
  "xwalk_android_keep_screen_on": false,
  "xwalk_android_permissions": [
    "ACCESS_NETWORK_STATE",
    "ACCESS_WIFI_STATE",
    "INTERNET"
  ],
  "xwalk_windows_update_id": "",
  "icons": [
    {
      "src": "icon.png",
      "sizes": "72x72"
    }
  ]
}

CMD

python make_apk.py --package=x --manifest=x/manifest.json --arch=arm --keystore-path=x\crosswalk-17.46.448.10\x.keystore --keystore-alias=x --keystore-passcode=xxx

thanks.

尝试使用 make_apk.py 传递--app-versionCode命令。

--app-versionCode=APP_VERSIONCODE An integer corresponding to the android:versionCode attribute of the Android App Manifest. If specified, the value of the "--app-version" option is not used to set the value of the android:versionCode attribute.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM