How to fix INSTALL_FAILED_INVALID_APK error in Android Studio?

前端 未结 9 1632
一整个雨季
一整个雨季 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:19

    Sometimes it is because of the emulator/device you are installing your apk on. If you have previously installed apk on a device and then uninstalled, then it might still exist on your device. So, in the emulator, go to settings -> Apps, then check for the application in the list. If exist, click on that particular application and then click on 'Uninstall for all users'(Typically from three dots in right corner).

    Hope it helps :)

提交回复
热议问题