Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Android adb returns the "device not found" error

Tags:

android

adb

When I plug my HTC Desire S phone into the PC (Win7) via USB, Device Manager shows a network adapter called "HTC Remote NDIS based Device".

Attempting a port mapping with adb, this happens:

7:22:09.68>"C:\Program Files\HTC\HTC Sync 3.0\adb" forward tcp:7777 tcp:7777
* daemon not running. starting it now on port 5037 *
* daemon started successfully *
error: device not found

Do you have any advice?

like image 734
SirHowy Avatar asked Sep 16 '11 07:09

SirHowy


People also ask

How do I fix my ADB device not found?

1) Select your SDK manager from the Start menu > Run as administrator. 2) When the SDK manager launches, navigate and expand the Extras folder > select Google USB Driver> click Install 1 package. 3) After installing the driver, connect your Android smartphone. 4) Hit the Windows logo + R keys.

Why ADB shell is not working?

Make sure USB debugging is enabled and USB is physically plugged in. Make sure everything is ok with the ADB drivers, double-check the device manager. Check if the device appears in "adb devices", make sure its authorized on the device. Try actual adb shell and other relevant adb stuff.


2 Answers

Several responses mention "Select the "Unknown sources" checkbox; you find it in "Settings->Applications->Unknown sources."

Perhaps that was an option in a previous version of Android, but for me (using Android 4.4) there is no "Applications" sub-menu under "Settings". This appears to have moved to: "Settings" -> Security -> "Unknown sources"

like image 59
CoderOfTheNight Avatar answered Oct 07 '22 01:10

CoderOfTheNight


First check if the device is connected; type the following command:

C:\Program Files\HTC\HTC Sync 3.0\adb devices

If the device gets listed, then perform your task; otherwise, there is a problem with the connection.

like image 36
Mohammed Azharuddin Shaikh Avatar answered Oct 06 '22 23:10

Mohammed Azharuddin Shaikh