You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Mike Hartington (JIRA)" <ji...@apache.org> on 2015/03/02 18:16:04 UTC
[jira] [Created] (CB-8582) Obscure error when installing app
Mike Hartington created CB-8582:
-----------------------------------
Summary: Obscure error when installing app
Key: CB-8582
URL: https://issues.apache.org/jira/browse/CB-8582
Project: Apache Cordova
Issue Type: Improvement
Components: CLI
Affects Versions: 3.5.0
Reporter: Mike Hartington
Priority: Minor
If you have a version of an app on the device already, and there is a difference in the versions, ant/android gives a pretty cryptic error.
{code}
Installing app on device...
/Users/mhartington/GithubRepos/ionic/tmp/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/CordovaApp-debug.apk
Failure [INSTALL_FAILED_VERSION_DOWNGRADE]
ERROR running one or more of the platforms: Error: /Users/mhartington/GithubRepos/ionic/tmp/platforms/android/cordova/run: Command failed with exit code 8
You may not have the required environment or OS to run this project
{code}
May be beneficial to provide a better error message for why install failed.
http://stackoverflow.com/questions/13808599/android-emulator-installation-error-install-failed-version-downgrade
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org