title: adb protocol failure using install and push
body: <p>I cannot install apk files to my phone using adb install.
  I cannot push apk files to my phone's sdcard using adb push.
  In both cases adb gives me "protocol failure", followed by a notice that it is unable to delete the apk file from data/local/tmp (which I'm pretty sure has to do with the fact that it's unable to get the apk file into the phone in the first place).</p>
  
  <blockquote>
    <p>protocol failure</p>
    
    <p>rm failed for /data/local/tmp/.apk, No such file or directory</p>
  </blockquote>
  
  <p>The same goes for AVDs. I've tried four separate emulators to no avail.</p>
  
  <p>USB debugging on the phone is enable.
  I'm using the latest version of the OS and the SDK.
  The phone is online according to adb devices.
  I've made sure there are no adb zombies.</p>
  
  <p>The problem is likely related to my computer's lack of USB write permission, though I am still uncertain because the emulator also gets the protocol failure message. </p>
  
  <p>I'm wondering if there is another way of installing apk files besides using the command line. More specifically, how is eclipse installing the apk files. I am able to deploy to both the emulator and my S4 using eclipse, which seems to bypass USB write permission checks.</p>