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.***"
  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值