Failure [INSTALL_FAILED_ALREADY_EXISTS] when I tried to update my application

后端 未结 7 1740
灰色年华
灰色年华 2020-11-29 15:26

when I tried to update my applcation with new version that has same signature as previous one, shows above error.

What I am missing?

7条回答
  •  一个人的身影
    2020-11-29 16:15

    With my Android 5 tablet, every time I attempt to use adb, to install a signed release apk, I get the [INSTALL_FAILED_ALREADY_EXISTS] error.

    I have to uninstall the debug package first. But, I cannot uninstall using the device's Application Manager!

    If do uninstall the debug version with the Application Manager, then I have to re-run the debug build variant from Android Studio, then uninstall it using adb uninstall com.example.mypackagename

    Finally, I can use adb install myApp.apk to install the signed release apk.

提交回复
热议问题