Reputation: 383
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
Reputation: 12692
enable USB Tethering. The device would be listed via adb devices
(workes for my LG G2/Lollipop)
Upvotes: 0
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
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
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
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:
Upvotes: 1
Reputation: 42026
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