Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to fix: Error device not found with ADB.exe

Tags:

android

In cmd when I try to do the command:

adb shell

it shows device not found error. Can someone help me please. It'll be appreciated.

like image 403
MethodManX Avatar asked May 22 '12 15:05

MethodManX


People also ask

Why my device is not showing in adb devices?

On Android 5.0, go to Settings -> Storage -> menu -> USB computer connection and make sure 'Media device (MTP)' is disabled. When it's disabled 'adb devices' lists the device, when enabled not.


2 Answers

Don't forget to go to your device and enable Settings->Developer Options->USB debugging.

like image 113
rmtheis Avatar answered Oct 21 '22 21:10

rmtheis


Try any of the following solutions. I get errors with adb every now and then. And one of the following always works.

Solution 1
Open command prompt as administrator and enter

  1. adb kill-server
  2. adb start-server

Solution 2
Install drivers for your phone if you're not testing on emulator.

Solution 3
Open android sdk manager and install "Google USB Driver" from extras folder. (attached screenshot)

Android SDK Google USB Driver missing

Solution 4
Go to settings > Developer Options > Enable USB Debugging.
(If you don't see Developer Options, Go to Settings > About Phone > Keep tapping "Build number" until it says "You're a developer!"

Enable USB Debugging

like image 25
ChiragMS Avatar answered Oct 21 '22 23:10

ChiragMS