Android Emulator: Installation error: INSTALL_FAILED_VERSION_DOWNGRADE

后端 未结 15 1487
旧巷少年郎
旧巷少年郎 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:27

    this happened to me when I imported an Android Studio App into eclipse.

    I figured out the andoridmanifest.xml file needs to be slightly modified when importing from android studio project. I created a new test project, and copied over the headings to make it match. voila, issue solved.

    0 讨论(0)
  • 2020-12-12 11:31

    I was having same problem. I was getting error when i tried to run in my android device not emulator.

    sudo ionic run android 
    

    I am able to fix this by running

    adb uninstall com.mypackage.name
    
    0 讨论(0)
  • 2020-12-12 11:34

    the thing that kept on killing me was that i didn't know that this app was installed for my guest account (although I had uninstalled it for the other accounts..)

    so i searched for the app in the app manager, and simply clicked on uninstall for all users

    0 讨论(0)
  • 2020-12-12 11:34

    Just uninstall the previous Apk and install the updated APK

    0 讨论(0)
  • 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.

    0 讨论(0)
  • 2020-12-12 11:37

    This error appears in my android project with multiple kind of gfx files. At the end no change in the manifest file was accepted.

    Because my lack of knowledge about the android devices I forget that my test device has a second User. This User also has an installed version of my app so I also have to delete the app for this user account and it works.

    0 讨论(0)
提交回复
热议问题