`
helpbs
  • 浏览: 1162864 次
文章分类
社区版块
存档分类
最新评论

INSTALL_FAILED_UPDATE_INCOMPATIBLE, adb install安装郁闷问题

 
阅读更多

问题:

Android1.5 R1版本, 运行命令adb install xxxx.apk, 出现错误:

Failure [INSTALL_FAILED_UPDATE_INCOMPATIBLE]

然后logcat &命令查看log, 发现如下错误:

E/PackageManager( 57): Package com.android.xxxxx.xxxxxx has no signatures that match those in shared user android.uid.shared; ignoring!

解决之道:

google查一下,发现以下一篇文章:

http://tech.it168.com/a2009/0526/577/000000577123.shtml

Android1.5 R1版本的安全漏洞

注意到“user android.uid.shared”,想起AndroidManifest.xml文件中有一行,

android:sharedUserId="android.uid.phone"

将这一行注释掉,OK, 出现succeed.

分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics