Manually installing an updated APK fails with “signatures do not match the previously installed version”

前端 未结 7 1445
悲&欢浪女
悲&欢浪女 2020-12-04 23:01

I\'ve built a silly app to share among a few friends. No need to put it up on the app-store.

I built the first apk (signed), uploaded it to a web-server

7条回答
  •  忘掉有多难
    2020-12-04 23:31

    For Unity users who come to this question, the best answer is indeed the one above by @Ehsan

    adb uninstall "com.yourapp.yourapp"
    

    I had already installed a previous version on my Android device then selected Development Build in Unity > Build Settings which caused the APK to use a different signature. If you install through the Android GUI it doesn't actually remove everything so you have to use ADB.

提交回复
热议问题