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

前端 未结 7 1421
悲&欢浪女
悲&欢浪女 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:42

    To me, if the app is meant to be distributed, the adb solution is a no-go: you can't ask one's friend to have the android sdk installed on their machine !

    The way to go here is to edit the AndroidManifest.xml and to increment the android:versionCodeattribute in the tag (which is the root element).

    This would update your installed application

提交回复
热议问题