I'm getting this error and don't know how to fix this:
When trying to run an Android app on a real device (NEXUS4(rooted) in my case) I'm getting the following error in the Console:
pkg: /data/local/tmp/test.apk Failure [INSTALL_FAILED_SHARED_USER_INCOMPATIBLE]
I've try to google this error and have got some solutions:
- Delete the source with "android.uid.system".
->The error fixed but I need to use SharedUserID for system permission so I can't take this. - Use platform.pk8 and platform.x509.pem from "build\target\product\security" to signature my app.
->Same error occured. Add my own UID(the xml below(copied from system)) into packages.xml and reset.
->The app disappeard from my phone after reset. I've no idea why I can't see it.<shared-user name="android.uid.cc" userId="10910"> <sigs count="1"> <cert index="2" /> </sigs> <perms> ... </perms> </shared-user>
None of these solutions solved the problem.
My andriod version is 4.4.2.
Any help would be greatly appreciated! Thanks.