2016-03-23 5 views
-1

Google Playストアにバージョンコード「20100000」とバージョン名「1.0.0」のAndroidアプリがあります。クロスウォーク - プロジェクトのバージョンコードに問題がありますか?

新しいアプリケーションバージョンを更新したいが、バージョンコードについて問題がある。

は、私がエラーを持っている「20100000バージョンのコードが既に存在している」更新私のapp.Iはすべてのものを私のバージョンのコードを変更しますが、私はいつもこのerror.Anybodyは私がバージョンコードを変更することができる方法を知って見るとき?

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 

感謝。

答えて

0

--app-versionCodeコマンドをmake_apk.pyに渡すようにしてください。

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