SirHowy
SirHowy

Reputation: 383

Android adb returns the "device not found" error

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?

Upvotes: 11

Views: 36977

Answers (7)

beluchin
beluchin

Reputation: 12692

enable USB Tethering. The device would be listed via adb devices (workes for my LG G2/Lollipop)

Upvotes: 0

vbarbarosh
vbarbarosh

Reputation: 3702

Try to connect you device in Media Device (MTP) mode.

I have the same problem and after switching to MTP mode adb was found my device.

Upvotes: 1

CoderOfTheNight
CoderOfTheNight

Reputation: 1122

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"

Upvotes: 2

Javier Gutierrez
Javier Gutierrez

Reputation: 559

try installing your correct driver,I got mine on https://motorola-global-portal.custhelp.com/app/answers/detail/a_id/88481

Upvotes: 0

Maikel Bollemeijer
Maikel Bollemeijer

Reputation: 6575

Tried to reboot your phone ? That worked for me once

Upvotes: 0

Paresh Mayani
Paresh Mayani

Reputation: 128448

First check whether the device is attached or not with "adb devices" command (it is inside the platform-tools directory).

Just for information, to start with Android application development with a real device, you have to change some settings:

  1. Select the "Unknown sources" checkbox; you find it in "Settings->Applications->Unknown sources."
  2. Select the "USB Debugging" checkbox; you find it in "Settings->Applications->Development->USB Debugging."

Upvotes: 1

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.

Upvotes: 1

Related Questions