简体   繁体   中英

Unity. Package signatures do not match previously installed version; ignoring

Faced the following problem: With the next update of the game in Google Play, APK files from the unit were no longer installed on the phone. The console writes that the signatures do not match.(For some reason twice) Debug Console

However, I checked the signatures of the aab file uploaded to the store and the apk file of the next version generated in Unity. They match perfectly! apksigner sreen keytool screen

What could be the reason and how to solve the problem? I say right away that deleting the installed version is not an option, since I need to check the safety of user data during the update. I also tried to form, without changing anything in the player settings, aab file followed by apk. I uploaded aab to the store, downloaded it and tried to install the apk on top of it through the unity. The result is the same.

somehow your old application is not removed 100% or its data is not removed.

adb uninstall "com.company.appname"

If you don't know exactly what to put as replacement for "com.company.appname", then you just open Android studio, Run your app while it is connected to a device and then look at Debug window.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM