Android application cannot be updated from the market after shareduserid has added

I added shareduserid to my applications, trying to update the application from the Google Play Store, I get a -504 error.Device message. The manifest file is correct, and there are no problems when installing from android studio or adb, but cannot be updated from the market. Any ideas?

Copying /data/data/io.crash.air/files/com.xxx.xxx_36fcadf21b0a4ef18ff35b90608b3b1c.apk to base.apk
D/PackageManager(  645): Renaming /data/app/vmdl1037256928.tmp to /data/app/com.xxx.xxx-2
I/ActivityManager(  645): Force stopping com.xxx.xxx appid=10271 user=-1: uninstall pkg
I/PackageManager(  645): Package com.xxx.xxx codePath changed from /data/app/com.xxx.xxx-1 to /data/app/com.xxx.xxx-2; Retaining data and using new
W/PackageManager(  645): Package com.xxx.xxx shared user changed from <nothing> to com.yyy.yyy; replacing with new
W/PackageManager(  645): Package couldn't be installed in /data/app/com.xxx.xxx-2
W/PackageParser(  645): Unknown element under <application>: intent-filter at /data/app/com.xxx.xxx-1/base.apk Binary XML file line #334
D/ActivityManager(  645): getTaskThumbnailLocked mainThumbnail is null, TaskRecord{2732f83e #5724 A=com.xxx.xxx U=0 sz=0}
D/ActivityManager(  645): getTaskThumbnailLocked mainThumbnail is null, TaskRecord{2732f83e #5724 A=com.xxx.xxx U=0 sz=0}
I/PackageManager(  645): Successfully restored package : com.xxx.xxx after failed upgrade
+4
source share
1 answer

If sharedUserId is added or removed from AndroidManifest, users will not be able to update the application, since the OS installed by the Android OS when the application was assigned has changed.

, , . , .

, . Google Play Dev Console, .

, , . , .

+3

Source: https://habr.com/ru/post/1612759/


All Articles