You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2016/03/16 15:57:33 UTC

[jira] [Commented] (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:comment-tabpanel&focusedCommentId=15197447#comment-15197447 ] 

ASF GitHub Bot commented on CB-8582:
------------------------------------

GitHub user daserge opened a pull request:

    https://github.com/apache/cordova-android/pull/278

    CB-8582 Obscure INSTALL_FAILED_VERSION_DOWNGRADE error when installin…

    …g app
    
    [Jira issue](https://issues.apache.org/jira/browse/CB-8582)

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/MSOpenTech/cordova-android CB-8582

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/cordova-android/pull/278.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #278
    
----
commit 93cb264fd8e7840c1f68551a6d0e6b7851e2cc72
Author: daserge <v-...@microsoft.com>
Date:   2016-03-16T14:55:08Z

    CB-8582 Obscure INSTALL_FAILED_VERSION_DOWNGRADE error when installing app

----


> 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