简体   繁体   English

Crosswalk-Project 版本代码问题?

[英]Crosswalk-Project version code issue?

I have android app with version code "20100000" and version name "1.0.0" in google play store.我在 Google Play 商店中有版本代码为“20100000”且版本名称为“1.0.0”的 Android 应用程序。

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 ?更新我的应用程序时出现错误“20100000 版本代码已经存在”。我更改了我的版本代码所有内容,但我总是看到此错误。有人知道如何更改版本代码吗?

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 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.

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

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