I'm trying to install via ADB an .APK on an Android box.
So I connect to it via ADP and try to install.
$adb connect 192.168.0.33
connected to 192.168.0.33:5555
$adb -s 192.168.0.33:5555 install -r Myapk.apk
pkg: /data/local/tmp/Myapk.apk
Failure [INSTALL_PARSE_FAILED_INCONSISTENT_CERTIFICATIOTES]
Myapk.apk is an apk that I lost source code, so I've extract, edit it, compile and signed it back. That app works on my Nexus 5.
Edit: It was a visual bug. I just had to reboot the device.
Try to -> pm uninstall "com.yourpackage.example" before. Examine if there sais "Success"
Perhaps there iss only mismatch on apk signing
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.