You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Sergey Shakhnazarov (JIRA)" <ji...@apache.org> on 2016/03/28 12:37:25 UTC

[jira] [Resolved] (CB-8582) Obscure INSTALL_FAILED_VERSION_DOWNGRADE error when installing app

     [ https://issues.apache.org/jira/browse/CB-8582?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Sergey Shakhnazarov resolved CB-8582.
-------------------------------------
    Resolution: Fixed

> Obscure INSTALL_FAILED_VERSION_DOWNGRADE 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
>              Labels: android, cordova-cli
>
> 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