I can not install apk files on my phone using adb install. I cannot push apk files to my phone sd card using adb push. In both cases, adb gives me a “protocol failure”, followed by a notification that it cannot delete the apk file from data / local / tmp (which I am pretty sure that it cannot receive the apk file on the phone in the first turn).
protocol failure
rm failed for /data/local/tmp/.apk, no such file or directory
The same goes for AVD. I tried four separate emulators to no avail.
USB debugging on the phone is turned on. I am using the latest OS and SDK. The phone is online in accordance with adb devices. I made sure there are no adb zombies.
The problem is probably due to my lack of permission to write to a USB computer, although I'm still not sure, because the emulator also receives a protocol error message.
I am wondering if there is another way to install apk files besides using the command line. More specifically, how eclipse installs apk files. I can deploy both the emulator and my S4 using eclipse, which seems to disable USB write permission checks.
source share