问题描述:

Performing Push Install

app-debug.apk: 1 file pushed. 6.1 MB/s (20417482 bytes in 3.179s)

pkg: /data/local/tmp/app-debug.apk

Failure [INSTALL_FAILED_UPDATE_INCOMPATIBLE]

 

使用adb install命令在手机上安装app时,遇到这个报错。原因是新装的app和手机上现有的旧版app冲突了。

解决方法:删除手机上原来的app,再重新安装即可。

但是,如果遇到的是这个问题:adb: failed to install app-debug.apk: Failure [INSTALL_FAILED_UPDATE_INCOMPATIBLE: Package com.*.app signatures do not match the previously installed version; ignoring!]