Cordova: Nach dem Upgrade von Android auf 5.1.1 Nexus 5 kann apk nicht mehr installiert werden
Nicht ausgeführt apk auf dem nexus 5 nach Update auf 5.1.1
Mithilfe Von Cordova: 5.0.0
Gerät : Nexus 5
Machine : 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
InformationsquelleAutor der Frage Jijesh | 2015-05-28
Du musst angemeldet sein, um einen Kommentar abzugeben.
Ich glaube, Sie haben dieses Problem, weil die app auf Ihrem Gerät installiert ist, mit einer anderen Signatur.
Wenn Sie cordova android laufen, die app installiert ist, mit einer debug-Signatur und vielleicht, dass die Signatur geändert werden, wenn Sie geändert target sdk oder wenn Sie ein Upgrade von android.
Den fix, wenn Sie INSTALL_FAILED_UPDATE_INCOMPATIBLE Fehler ist es, zuerst deinstallieren der app und dann sollten Sie nicht die Frage-mehr beim starten
cordova run android
InformationsquelleAutor der Antwort QuickFix
Nicht befürchten, dass.für das NEXUS 5.gehen Sie zu Einstellungen>> apps>> Suche-Anwendung.
Gut gemacht..
InformationsquelleAutor der Antwort sawpyae