Android 共享用户不兼容,安装失败 INSTALL_FAILED_SHARED_USER_INCOMPATIBLE

Android 2.3.3  
Eclipse Version: 3.7.0  
LogCat  

Console 报错:

[2012-02-06 11:15:26 - taobao] ------------------------------
[2012-02-06 11:15:26 - taobao] Android Launch!
[2012-02-06 11:15:26 - taobao] adb is running normally.
[2012-02-06 11:15:26 - taobao] Performing com.taobao.htc.Start activity launch
[2012-02-06 11:15:26 - taobao] Automatic Target Mode: launching new emulator with compatible AVD 'taobao'
[2012-02-06 11:15:26 - taobao] Launching a new emulator with Virtual Device 'taobao'
[2012-02-06 11:15:34 - Emulator] emulator: emulator window was out of view and was recentred
[2012-02-06 11:15:34 - Emulator] 
[2012-02-06 11:15:34 - taobao] New emulator found: emulator-5554
[2012-02-06 11:15:34 - taobao] Waiting for HOME ('android.process.acore') to be launched...
[2012-02-06 11:15:35 - Emulator] Unknown savevm section type 95
[2012-02-06 11:16:24 - taobao] HOME is up on device 'emulator-5554'
[2012-02-06 11:16:24 - taobao] Uploading taobao.apk onto device 'emulator-5554'
[2012-02-06 11:16:29 - taobao] Installing taobao.apk...
[2012-02-06 11:16:55 - taobao] Installation error: INSTALL_FAILED_SHARED_USER_INCOMPATIBLE
[2012-02-06 11:16:55 - taobao] Please check logcat output for more details.
[2012-02-06 11:16:55 - taobao] Launch canceled!

主要错误:

[2012-02-06 11:16:55 - taobao] Installation error: INSTALL_FAILED_SHARED_USER_INCOMPATIBLE


原因:虚拟机不支持添加共享用户类型。

解决办法:在AndroidManifest.xml取消对应的“android:sharedUserId”属性。

 android:sharedUserId="android.uid.***"

你可能感兴趣的:(Android 共享用户不兼容,安装失败 INSTALL_FAILED_SHARED_USER_INCOMPATIBLE)