小编Jij*_*esh的帖子

Cordova:将android升级到5.1.1 Nexus 5后无法安装apk

升级到5.1.1后,无法在nexus 5上运行apk

使用Cordova:5.0.0设备:Nexus 5机器:MAC

BUILD SUCCESSFUL

Total time: 8.432 secs
Built the following apk(s):
    /Applications/XAMPP/xamppfiles/htdocs/android/kaljacobs/platforms/android/build/outputs/apk/android-debug.apk
Using apk: /Applications/XAMPP/xamppfiles/htdocs/android/kaljacobs/platforms/android/build/outputs/apk/android-debug.apk
Installing app on device...

/Applications/XAMPP/xamppfiles/htdocs/android/kaljacobs/platforms/android/cordova/node_modules/q/q.js:126
                    throw e;
                          ^
ERROR: Failed to launch application on device: ERROR: Failed to install apk to device:  pkg: /data/local/tmp/android-debug.apk
Failure [INSTALL_FAILED_UPDATE_INCOMPATIBLE]

ERROR running one or more of the platforms: Error: /Applications/XAMPP/xamppfiles/htdocs/android/kaljacobs/platforms/android/cordova/run: Command failed with exit code 8
You may not have the required environment or OS to run this project
Run Code Online (Sandbox Code Playgroud)

android cordova phonegap-build

29
推荐指数
1
解决办法
2万
查看次数

标签 统计

android ×1

cordova ×1

phonegap-build ×1