Android Emulator: Installation error: INSTALL_FAILED_VERSION_DOWNGRADE

后端 未结 15 1516
旧巷少年郎
旧巷少年郎 2020-12-12 11:16

I am currently trying to compile and test a small Android Application.

I am using Eclipse, and have SDK 4.2 (Api Level 17) installed. I\'ve set

<         


        
15条回答
  •  盖世英雄少女心
    2020-12-12 11:35

    This can happen when trying to install a debug/unsigned APK on top of a signed release APK from the Play store.

    H:\>adb install -r "Signed.apk"
    2909 KB/s (220439 bytes in 0.074s)
            pkg: /data/local/tmp/Signed.apk
    Success
    
    H:\>adb install -r "AppName.apk"
    2753 KB/s (219954 bytes in 0.078s)
            pkg: /data/local/tmp/AppName.apk
    Failure [INSTALL_FAILED_VERSION_DOWNGRADE]
    

    The solution to this is to uninstall and then reinstall or re run it from the IDE.

提交回复
热议问题