title: Nexus 5 (Kitkat 4.4) won't authorize my Windows 8 computer
body: <p>I'm trying to do some app development for Android with Eclipse and my Nexus 5.</p>
  
  <p>However, after the first time loading MyFirstApp from Eclipse, I can't seem to get the authorization right. </p>
  
  <p>When I run adb devices from the command prompt, I end up getting </p>
  
  <pre><code>0350b965215d9854               unauthorized
  </code></pre>
  
  <p>or</p>
  
  <pre><code>0350b965215d9854               offline
  </code></pre>
  
  <p>and even after restarting everything, I only sporadically get the authorization popup on my phone. Even if I select 'always allow from this computer' checkbox (pic below), my computer remains unauthorized. I have never had it remember authorizing my computer as the checkbox would suggest.</p>
  
  <p>A few times, after killing the server and restarting the server multiple times, adb will recognize the device, as after typing "adb devices", I get </p>
  
  <pre><code>0350b965215d9854            device
  </code></pre>
  
  <p>But if I try running the app in eclipse I'll get the following error message. </p>
  
  <pre><code>[2013-11-09 18:10:16 - MyFirstApp] Failed to install MyFirstApp.apk on device '0350b965215d9854': timeout
  [2013-11-09 18:10:16 - MyFirstApp] Launch canceled!
  </code></pre>
  
  <p>I'm also unable to run shell or other commands from adb. </p>
  
  <p>I've verified I'm using the latest usb drivers, android sdk, and eclipse release and have tried the following fixes:</p>
  
  <p>On Nexus 5:</p>
  
  <ul>
  <li><p>Booting in Safe mode</p>
  
  <p>Toggling/untoggling USB Debugging</p>
  
  <p>Revoking USB debugging authorization and reauthorizing</p>
  
  <p>Restarting the phone</p>
  
  <p>Allowing permissions on a one-time basis</p></li>
  </ul>
  
  <p>On Windows 8:</p>
  
  <ul>
  <li><p>Restarting the computer</p>
  
  <p>Restarting Eclipse</p>
  
  <p>Killing/starting adb from cmd </p>
  
  <p>Killing adb from task manager</p>
  
  <p>Reinstalling Eclipse</p>
  
  <p>Reinstalling google's USB drivers</p>
  
  <p>Installing the nexus 5 line in google's drivers as per <a href="https://stackoverflow.com/questions/19838016/google-failed-to-provide-usb-driver-for-the-nexus-5">this
  question</a></p>
  
  <p>Reinstalling the Android SDK</p>
  
  <p>Changing USB Ports</p></li>
  </ul>
  
  <p>I've seen very similar posts for the <a href="https://stackoverflow.com/questions/18011685/why-i-cant-authorized-nexus4-device-in-the-adb">Nexus 4</a> and <a href="https://stackoverflow.com/questions/15844160/nexus-7-tablet-not-recognized-by-adb">Nexus 7</a>, but after trying everything contained in those solutions, I'm still not getting anywhere. </p>