INSTALL_FAILED_UPDATE_INCOMPATIBLE when I try to i

2019-01-05 09:02发布

I've compiled Trebuchet launcher from CyanogenMod 9, and trying to install it with adb:

$ adb install out/target/product/generic/system/app/Trebuchet.apk
3986 KB/s (7870141 bytes in 1.928s)
    pkg: /data/local/tmp/Trebuchet.apk
Failure [INSTALL_FAILED_UPDATE_INCOMPATIBLE]

I tried on Nexus S with CM9 and Galaxy Nexus with stock JB. Why I'm getting this error?

EDIT: In my case I've tried to reinstall system package with package manager. That's not supported, so I've got this error. Source of the error may differ in your case.

22条回答
迷人小祖宗
2楼-- · 2019-01-05 09:49

The question was why he's getting this error. Uninstalling will solve this problem but in my case, while I was installing the compiled version of the apk, the problem raised. I was trying to build an update for my application. So what I did, I built a signed apk and then tried to install the apk and the apk installed perfectly. So, rather removing the old apk, I had to sign the newer update and then installed it.

查看更多
Emotional °昔
3楼-- · 2019-01-05 09:52

Two ways that can be works

1: Uninstall app from mobile device manually

2: Open command prompt , trace path of adband execute following command

adb uninstall your_package_name
查看更多
Luminary・发光体
4楼-- · 2019-01-05 09:53

In my case there was no version of the App I could find through device manager or Astro.

What I ended up doing was:

1) Download the latest version of the App from the app store

2) The app was still not visible in device manager until I restarted my device.

3) Remove the app from device manager

4) Run my project again

5) Everything works

Hope this helps someone

查看更多
劫难
5楼-- · 2019-01-05 09:56

its occurred if you build your apk from some other PC and update it from different PC.

查看更多
你好瞎i
6楼-- · 2019-01-05 09:57

In my case, I have installed Application from Playstore and after when I am trying to run from Eclipse or Android Studio so it will try to install again on that APK that will not allow.

So First of all you have to Uninstall that Siged APK and after that you have to try.

Thank you.

查看更多
劳资没心,怎么记你
7楼-- · 2019-01-05 09:58

it means the application which you want to install is already installed. just remove the old one and try again.

查看更多
登录 后发表回答