2

I've updated everything. No problem with driver. Added android:debuggable="true" to the . USB debugging mode on. But still dont work. My OS is Win7, my device is Huawei.

enter image description here

3
  • Hey Refer this link for the solution... androidbysravan.blogspot.com/2011/03/…
    – Taruni
    May 13, 2011 at 4:53
  • u need to execute the command in command prompt that "chmod a+r /etc/udev/rules.d/51-android.rules" this is the path of ur drive where in 51-android.rules u need to paste this line::SUBSYSTEM=="usb", SYSFS{idVendor}=="0bb4", MODE="0666"
    – Taruni
    May 13, 2011 at 5:49
  • Which device are you trying to attach? May 13, 2011 at 6:50

12 Answers 12

6
  • Make sure, that your usb connection type is "Charge only",
  • disable and the enable the USB debugging on your device (Menu->Settings->Applications->Development->USB debugging uncheck -> check),

and Eclipse should recognize it.

Update
I also have to close the emulator window (if I have running any), and this works for me all the time.

4
  • 1
    How to check that "usb connection type is "Charge only"" ? Thanks .
    – toto_tata
    Apr 25, 2012 at 9:18
  • 2
    Clicking on the USB notification icon does the trick. (At least on my ICS)
    – ytg
    Jul 5, 2012 at 12:24
  • Thanks for the suggestion of checking that the USB connection type was "Charge only", when I was going to check that I noticed that my device was switched off completely. Jul 15, 2013 at 10:26
  • A little different for my phone - Settings > Developer Options > USB Debugging == check. The device appeared immediately on Eclipse. Dec 23, 2013 at 5:02
3

Check the USB-to-microUSB cable. I was using one that I suspect only charges battery power, but no data transmission. After changing to another cable, my phone successfully appeared under android device in the eclipse run window.

1
  • Yes, this was the problem. I had been trying for an hour on my Mac OS. Reset adb, ran Eclipse as admin, everything. I changed the cable and voila! It works. Dec 16, 2013 at 20:24
2

Right click on your project, select 'Run As Configuration'. then Select 'Android Application' ->you application and from 'target tab' uncheck all emulators. After this, make sure all emulators are down and then right click on your application and 'Run As' -> Android Application'. it will show you the option to select your device as target.

3
  • If you have android project and you right click and select'Run As' , you should see 'Android Application' and 'Run Configuration' options.Else some other problem exists.
    – sudmong
    May 13, 2011 at 5:25
  • Right click on project, Run As -> Configuration -> Android Tab -> There is no emulator list to uncheck? May 13, 2011 at 5:28
  • I ran my project hundreds of times times before, but after a reboot it suddenly "forgot" some configuration!? This tip helped though. Jul 22, 2013 at 6:55
1

is your phone in development mode? settings --> applications --> USB debugging

0
1

Try to restart adb server , run

adb kill-server
adb start-server

from command prompt

0
1

Be sure that driver installed successfully, open device manager and find your device driver installed. install your device software (like Kies in case of Samsung mobiles) it will install drivers automatically

0

Check if you have installed the USB driver for the device.

0

I've meet this situation many times before , there's some workaround about this. :

  • unplug the cable and then plug in again
  • restart your device, or
  • restart your computer

that way the device will online again.

0
0

For other people having the same problem. I have the same problem before and tried all solution but the problem remain the same until I check the Device Manager and under Universal Serial Bus controllers, once I plug-in the device and I got an 'Unknown Device' in the list. So, my solution is remove the unknown driver, scan the hardware and reinstall the driver for my device and now is working. Hope it helps.

0

I guess you got a problem with your driver Try installing your driver from HERE

0

Spent time looking for my device under 'Debug' - Devices are found under 'Run'.

0

Solution from a different angle: Type "adb devices" in terminal (the executable is in platform-tools directory of Android SDK). If the output shows that the device exists, this may be related to the project you are trying to run (if not then the device is not installed correctly, driver issue). If the device's Android version is lower than the project's minimum version (see AndroidManifest.xml file look for android:minSdkVersion), the device will not appear in the launch window. Try a lower number for android:minSdkVersion than the one specified which is smaller or uquals your device's version. Please take in account that this may cause the app to crash if your device does not support the API used in the project.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.