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.***"
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章