How to fix INSTALL_FAILED_INVALID_APK error in Android Studio?

前端 未结 9 1635
一整个雨季
一整个雨季 2021-02-08 23:37

I have recently updated my Android Studio to 3.6.1, thereby also updating gradle plugin to 3.6.1 and the gradle wrapper to 5.6.4

When running the debug build, I keep get

9条回答
  •  你的背包
    2021-02-09 00:27

    The problem started happening for me in Android Studio 4.0. I get "INSTALL_FAILED_INVALID_APK" when trying to launch an app on Emulator right after opening Android Studio.

    Found a workaround - if I launch the app on real device first, then launching on emulator is not a problem. Works 100%.

    Android Studio is still buggy as hell, unfortunately...

提交回复
热议问题