Home » Android » Android Errors and Solutions » Solved : Failure INSTALL_FAILED_SHARED_USER_INCOMPATIBLE “tried to change user”

Solved : Failure INSTALL_FAILED_SHARED_USER_INCOMPATIBLE “tried to change user”

When you try to install an Android Application using adb and received an error with message as “Failure [INSTALL_FAILED_SHARED_USER_INCOMPATIBLE]”

We already have same package system application installed and we tried to install same package’s non-system application.

$ adb install -r ./app/release/app-release.apk

Performing Streamed Install

adb: failed to install ./app/release/app-release.apk: Failure [INSTALL_FAILED_SHARED_USER_INCOMPATIBLE: Package your.app.package.name tried to change user null]

In this we already had one system application installed and tried to install the same applications non-system apk and received above error as indicated with message “tried to change user null”.

Solution 1 : Try to change the new apk with system application by modifying AndroidManifest.xml as,


and then install the new apk, so we have same user for installed apk and new apk.

Solution 2: We don’t want new apk and system application, then first uninstall existing application and then install new apk.

$ adb shell pm uninstall your.app.package.name 
$ adb install ./app/release/app-release.apk

Subscribe our Rurban Life YouTube Channel.. "Rural Life, Urban LifeStyle"

Leave a Comment