android - adb protocol failure using install and push -


i cannot install apk files phone using adb install. cannot push apk files phone's sdcard using adb push. in both cases adb gives me "protocol failure", followed notice unable delete apk file data/local/tmp (which i'm pretty sure has fact it's unable apk file phone in first place).

protocol failure

rm failed /data/local/tmp/.apk, no such file or directory

the same goes avds. i've tried 4 separate emulators no avail.

usb debugging on phone enable. i'm using latest version of os , sdk. phone online according adb devices. i've made sure there no adb zombies.

the problem related computer's lack of usb write permission, though still uncertain because emulator gets protocol failure message.

i'm wondering if there way of installing apk files besides using command line. more specifically, how eclipse installing apk files. able deploy both emulator , s4 using eclipse, seems bypass usb write permission checks.

  1. push apk package sdcard:

    adb push test.apk /sdcard/

  2. install apk sdcard:

    adb shell pm install /sdcard/test.apk


Comments

Popular posts from this blog

jquery - How can I dynamically add a browser tab? -

node.js - Getting the socket id,user id pair of a logged in user(s) -

keyboard - C++ GetAsyncKeyState alternative -