How to fix INSTALL_FAILED_INVALID_APK error in Android Studio?

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

    I faced the same issue. Try to uninstall the app via terminal adb uninstall com.packagename command and then reinstall the app. Basically, sometimes the app is isntalled for other users in device and uninstalling from device just uninstalls it from current user, that's why it gives this error. Give it a try, I hope it will helps.

提交回复
热议问题