Archive And Install_failed_shared_user_incompatible

  
Archive And Install_failed_shared_user_incompatible Rating: 6,8/10 6866reviews

Package cn.trinea.android.common.util. Import java.io.File. Import java.util.List. Import android.app.ActivityManager. Import android.app.ActivityManager.RunningTaskInfo. Import android.content.Context. Import android.content.Intent. Import android.content.pm. Besanko 2nd Edition Microeconomics Graphs. ApplicationInfo. Import android.content.pm.PackageInfo. INSTALL_FAILED_SHARED_USER_INCOMPATIBLE; import static android.content.pm. Revoked'; private static final String PACKAGE_MIME_TYPE = 'application/vnd.android.package-archive'; private static final String VENDOR_OVERLAY_DIR = '/vendor/overlay'; /** Permission grant: not grant the permission. Charles Lales, CV. APK install failed shared user incompatible. From the archive, flash boot.img, system.img and even.

EDIT 31aug2012: also this message appears if there is no 'classes.dex' in the apk Hi, When you try to install certain apk you might get this error when using 'adb install something.apk' Andoid creates 'shared users' like app_1 app_3 etc for packages you install. These UID's are like 10001, 10002, 10003 etc. Sometimes the administration of these shared users gets messed up and you get error messages like: INSTALL_FAILED_SHARED_USER_INCOMPATIBLE The shared user administration is kept in /data/system: -rw-rw-r-- system system 1-08-15 12:08 packages.xml How to solve? You need a rooted phone and adb: adb shell chmod 666 /data/system/packages.xml adb pull /data/system/packages.xml Now edit (notepad++) and remove the shared user in question xml block from the file. Code: adb push packages.xml /data/system adb shell rm /data/dalvik-cache/* adb reboot Now you should be able to install that apk. Hi, It worked for me. All you want to do is just comment out the block of XML elements under Note: I have 'Su' permission in my Device.

Archive And Install_failed_shared_user_incompatibleArchive And Install_failed_shared_user_incompatible