title: Android Device not recognized by adb
body: <p>My Android device isn't recognized by eclipse nor adb anymore.
  My OS is Windows 7 64-bit, and I'm using a Nexus 4 with Stock Android 4.4.2.</p>
  
  <p>Here are some details on the problem:</p>
  
  <ol>
  <li>Yesterday I could run Android Projects from eclipse on my device with no problems. The only thing that I did on eclipse, which could have caused this problem, was installing the v7 appcompat support library from a resource to eclipse using this guide on developers.android (<a href="https://developer.android.com/tools/support-library/setup.html" rel="noreferrer">https://developer.android.com/tools/support-library/setup.html</a>).</li>
  <li>The device is still recognized as a normal multimedia drive in Windows when it's not in debug mode.</li>
  <li>The device is in Developers mode and in Debug mode when I try to run an Android Project in eclipse or try to see if it's recognized by adb using <code>adb devices</code> in the console.</li>
  <li>The Google USB drivers have been installed through the ADK Manager</li>
  <li>The USB OEM drivers for Windows have already been installed according to the tutorial on the android-developers site  (see: <a href="https://developer.android.com/tools/extras/oem-usb.html" rel="noreferrer">https://developer.android.com/tools/extras/oem-usb.html</a>)</li>
  <li>I tried to restart adb by using the commands <code>adb kill-server</code> and <code>adb start-server</code>, and again checked if the devices was recognized by using <code>adb devices</code>. The device was still not listed on the console.</li>
  <li>Restarting windows &amp; eclipse did not fix this problem.</li>
  </ol>
  
  <p>Does anyone know a solution for this problem?
  Thanks in advance!</p>
  
  <p><strong>UPDATE:</strong> Thanks for the repies, the problem is solved (for now).
  I tried the following suggestions in this order:</p>
  
  <ol>
  <li>I restarted my device - this did not fix the problem</li>
  <li>I set my device to PTP mode - <strong>this fixed the problem.</strong></li>
  </ol>
  
  <p>So I reset my device to MTP mode &amp; debug mode again to check if it still would be recognised by adb for some reason. It definitly doesn't get recognised by adb when it's in MTP-mode. I don't know how it got recognised some days ago, because I never setmy device to PTP-mode. <strong>Anyway, the solution to my problem is that my Nexus 4 must be in PTP-Mode and of course in debug-mode to get recognised by adb.</strong></p>
  
  <p>I didn't try any other suggestions since my problem got solved with my current drivers.</p>