The APK failed to install. Error: Could not parse error string

后端 未结 1 1554
无人共我
无人共我 2021-02-11 12:32

Dragging and dropping an Android Package *.APK into an AVD (Android Virtual Device) throws a cryptic error:

The APK failed to install.
Error: Could not parse err         


        
相关标签:
1条回答
  • 2021-02-11 12:57

    HOWEVER, if I upload this same APK to my actual Android Device, IT WORKS! Not only does it install, but it opens and runs my app just fine with no errors

    This tells me it might be because your app uses native libraries which don't match the emulator cpu architecture (see this question)

    To get a more detailed error message, install your app via terminal:

    adb install path_to_your_app/name_of_your_app.apk

    You might see this:

    adb: failed to install name_of_your_app.apk: Failure [INSTALL_FAILED_NO_MATCHING_ABIS: Failed to extract native libraries

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