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

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.

分享到:
评论

相关推荐

    INSTALL_FAILED_SHARED_USER_INCOMPATIBLE

    问题:INSTALL_FAILED_SHARED_USER_INCOMPATIBLE 解决:android:sharedUserId="android.uid.system" <uses-permission android:name="android.permission.FORCE_STOP_PACKAGES"/>

    android 添加系统权限 INSTALL_FAILED_SHARED_USER_INCOMPATIBLE

    eclipse编译出来的apk,安装时报出INSTALL_FAILED_SHARED_USER_INCOMPATIBLE的错误。 原因:apk的AndroidManifest.xml中声明了android:sharedUserId="android.uid.system",但没有相应的签名 解决方案: 1. 找到编译...

    Failure [INSTALL_FAILED_CPU_ABI_INCOMPATIBLE]异常处理

    Failure [INSTALL_FAILED_CPU_ABI_INCOMPATIBLE]异常处理

    adb1.0.26包含fastboot.exe

    INSTALL_FAILED_UPDATE_INCOMPATIBLE 以前安装过同名应用,但卸载时数据没有移除 先 adb uninstall <packagename> 再安装 INSTALL_FAILED_SHARED_USER_INCOMPATIBLE 请求的共享用户存在但签名不一致 INSTALL_FAILED...

    Android APK签名异常无法安装-INSTALL-FAILED-SHARED-USER-INCOMPATIBLE 解决

    Android APK签名异常无法安装-INSTALL-FAILED-SHARED-USER-INCOMPATIBLE 解决

    Genymotion-ARM-Translation

    Genymotion是目前我所用过的android模拟器中,相当好用的一款模拟机,好用归好用,但偶尔还是会会遇到各种各样的...例如:INSTALL_FAILED_CPU_ABI_INCOMPATIBLE这我在使用webView引入qq X5内核时,调试页面出的问题,

    Genymotion也能使用ARM安卓程序

    解决INSTALL_FAILED_CPU_ABI_INCOMPATIBLE问题 Genymotion也能使用ARM安卓程序 开启Genymotion模拟器后直接拖入,一直点确认安装

    genymotion-arm-cpu

    解决Genymotion调试出现错误INSTALL_FAILED_CPU_ABI_INCOMPATIBLE Genymotion-ARM-Translation模拟器补丁

    Genymotion-ARM1-Translation好用

    解决Genymotion安装apk过程中出现INSTALL_FAILED_CPU_ABI_INCOMPATIBLE问题;把该文件拖到模拟器中安装,安装成功后重启模拟器就OK啦

    Android系统签名文件生成工具

    app获取系统级权限有两种方法,一个是root,另一个是在AndroidManifest中添加android:sharedUserId="android.uid.system",但是Manifest文件中加入sharedUserId后,我们会发现一个问题,就是INSTALL_FAILED_SHARED_...

    Genymotion-ARM-Translation(兼容包)_genymotion-arm-translation_for_1

    1. 使用Genymotion调试出现错误INSTALL_FAILED_CPU_ABI_INCOMPATIBLE 2. System.LoadLibrary加载NDK编译的armeabi动态库时抛出UnsatisfiedLinkError异常 解决办法: 将你的虚拟器运行起来,将下载好的zip包用鼠标拖...

    Genymotion-ARM-Translation(兼容包)

    1. 使用Genymotion调试出现错误INSTALL_FAILED_CPU_ABI_INCOMPATIBLE 2. System.LoadLibrary加载NDK编译的armeabi动态库时抛出UnsatisfiedLinkError异常 解决办法: 将你的虚拟器运行起来,将下载好的zip包用鼠标拖...

    TypeError: _queue_reduction(): incompatible function arguments.

    TypeError: _queue_reduction(): incompatible function arguments. The following argument types are supported: 1. (process_group: torch.distributed.ProcessGroup, grads_batch: List[List[at::Tensor]], ...

    如何安装系统认证签名过的APK

    如果你的App因为权限原因需要设置 android:sharedUserId="android.uid.system" 那么IDE编译出的包通常是无法直接安装的,查看控制台会发现报 INSTALL_FAILED_SHARED_USER_INCOMPATIBLE错误。这是必须的,随随便便一...

    incompatible7

    incompatible

    Material_Theme-5.3.2.1.zip

    IDEA主题美化

    Pytorch报错记录

    一、TypeError: _resolve_type_from_object(): incompatible function arguments. The following argument types are supported: 1. (arg0: object, arg1: torch._C._jit_tree_views.SourceRange, arg2: Callable[...

Global site tag (gtag.js) - Google Analytics