Issue
I am working on Android application which will share the database. For that, I'm using android:sharedUserId
in both application's Manifest file. When I am trying to run the application after adding that sharedUserId
it shows me following errors in console.
[2013-03-04 19:37:32 - MainActivity] Installation error: INSTALL_FAILED_SHARED_USER_INCOMPATIBLE
[2013-03-04 19:37:32 - MainActivity] Please check logcat output for more details.
[2013-03-04 19:37:32 - MainActivity] Launch canceled!
Please help me to resolve this problem.
Solution
Follow these steps to fix the INSTALL_FAILED_SHARED_USER_INCOMPATIBLE
error:
- Remove the existing application (if it was already installed)
- Remove the
sharedUserId
from AndroidManifest.xml - Rebuild the application
- Reenter the
sharedUserId
to AndroidManifest.xml - Rebuild the application (one more time)
Answered By - Hemantwagh07
Answer Checked By - Candace Johnson (JavaFixing Volunteer)