34

Just starting out with Android development; have a Nexus 5 bought in Japan, but with English version of android (presumably shouldn't matter). I installed Android Studio on Windows 8.1 to try making an app, but now I don't see my phone under "Choose Device". I've enabled developer mode and selected 'USB debugging'. Is there something else I need to do to get Android Studio to see my connected device?

Choose Device dialog

13 Answers 13

37

Have you installed drivers for the phone? http://developer.android.com/sdk/win-usb.html

It appears that the the sdk does not "install" the USB drivers. You can select that usb drivers in the sdk to see the file location, open that up, and right click to install the driver yourself.

  • File -> Settings -> Android SDK -> SDK Tools -> Google USB Driver -> Right click -> Install
    • Ensure that Google USB driver is checked.

If above doesn't work, @Abir Hasan appears to have another method in answers below.

8
  • 1
    If this installation is recent, try resetting the connection with “adb kill-server” followed by “adb devices” in your terminal.
    – MeowMeow
    Aug 10, 2014 at 6:05
  • Nope, i had this problem a few weeks ago when I set it up, only now getting back to it.
    – Rollie
    Aug 10, 2014 at 6:08
  • Manually installed the device outside of the SDK manager, works now. You were on the right lines though :)
    – Rollie
    Aug 10, 2014 at 6:16
  • Note that each phone manufacturer may have its own custom set of drivers, e.g. the link in the answer above works for Google phones, but Samsung has a different driver. Aug 26, 2015 at 15:06
  • 2
    I have a comment/question on the "You can select that usb drivers in the sdk to see the file location, open that up, and right click to install the driver yourself." I'm running windows 10 w a Nexus 7. Right clicking anywhere (in File Explorer) dose'nt seem to do present any kind of an "Install driver" window" choice. I guess I'm missing something. Any idea what I'm doing wrong? Jan 8, 2016 at 17:09
31

I've had this problem many times before with my Galaxy Nexus. Despite having the Android SDK's USB drivers installed, it did not seem to suffice.

I've always solved this by installing a program called PdaNet. While I don't know exactly what it is used for and where it gets its drivers - it comes with the drivers that has always fixed the problem for me. You can uninstall the program itself once it has finished.

5
  • 1
    PdaNet failed during the installation, but it solved my problem and listed my phone anyway. Thank you so much!
    – pmrotule
    Feb 12, 2015 at 16:28
  • Worked for my ZTE Blade 6 :O Aug 31, 2015 at 14:16
  • Worked for me. Thank you!
    – Shihab
    Jan 21, 2016 at 15:49
  • Finally it worked for my laptop :) During the last 2 weeks I tried with many things and followed many instructions but with no result.
    – Reza Mamun
    Mar 13, 2016 at 9:31
  • Did the trick for me. I had problems when switching between different devices. Thanks dude!!!!
    – pavlos
    Jan 9, 2017 at 9:35
25

Though the answer is accepted, but I'm going to answer it anyway.

From the points perspective, it might seem that it's a lot of work. But it's very simple. And Up un till now it has worked on all the devices I have tried with.

At first download the universal ADB driver. Then follow the process below:

  1. Install the Universal ADB driver.
  2. Then go to the control panel.
  3. Select Device and Printers.
  4. Then find your device and right click on it.
  5. Probably you will see a yellow exclamation mark. Which means the device doesn't have the correct driver installed.
  6. Next, select the properties of the device. Then-

    • Select hardware tab, and again select properties.
    • Then under general tab select Change Settings.
    • Then under the Driver tab, select update driver.
    • Then select Browse my computer for driver software.
    • Then select Let me pick from a list of device drivers on my computer.
    • Here you will see the list of devices. Select Android devices. Which will show you all the available drivers.
    • Under the model section, you can see a lot of drivers available.
    • You can select your preferred one.
    • Most of the cases the generic ANDROID ADB INTERFACE will do the trick.
    • When you try to install it, it might give you a warning but go ahead and install the driver.
    • And it's done.

Then re-run your app from the android studio. And it will show your device under Choose Device. Cheers!

3
  • I'm glad it helped you :) Dec 22, 2016 at 5:18
  • 1
    You are Awesome Dude (:
    – Nicks
    Jun 7, 2017 at 12:45
  • 1
    after following all these steps i got Session 'app' error while installing APK - but you just need to unplug and re-plug the device and it's gone - thanks @AbirHasan
    – Mani
    Nov 20, 2017 at 0:06
3

French screenshot

I hope it will help, it did the trick for me, first, after connected my device to the computer I switch the paramater above to "camera device (PTP)"; then, I install PdaNet on my computer, finally all the usb driver were installed, and it works.
My smartphone is a samsung GS2, Android 4.4.2.

1
  • pdanet did the trick for me too, nothing helped except pdanet :)
    – Chen
    Apr 4, 2016 at 22:43
3

I had the same issue and couldn't get my Nexus 6P to show up as an available device until I changed the connection type from "Charging" to "Photo Transfer(PTP)" and installed the Google USB driver while in PTP mode. Installing the driver prior to that while in Charging mode yielded no results.

4
  • Fixed problem on my new Galaxy S7 Edge with the Samsung USB drivers installed. Thanks!
    – bigjosh
    Mar 14, 2016 at 0:09
  • @bigjosh where did you get the drivers? Mar 20, 2016 at 2:36
  • samsung.com/us/support/downloads Click on "cell phones" and select your model and carrier.
    – bigjosh
    Mar 20, 2016 at 4:35
  • 1
    Yes, this PTP-mode change (from charging-only) fixed it for my Nexus-9.
    – David
    May 9, 2018 at 15:44
1

I know this is old and answered, but after 2 weeks of smashing my head on the table I FINALLY fixed my specific issue...

SAMSUNG KNOX was my problem. Version 2.2+ of MyKnox will not allow USB debugging.

I uninstalled MyKnox and now it works.

I hope this saves someone 2 weeks of head smashing.

1

That worked for my TP-Link Neffos C5:

The first step in configuring a Windows based development system to connect to an Android device using ADB is to install the appropriate USB drivers on the system. In the case of some devices, the Google USB Driver must be installed (a full listing of devices supported by the Google USB driver can be found online at http://developer.android.com/sdk/win-usb.html).

To install this driver, perform the following steps:

  1. Launch Android Studio and open the Android SDK Manager, either by selected Configure -> SDK Manager from the Welcome screen, or using the Tools -> Android -> SDK Manager menu option when working on an existing project.
  2. Scroll down to the Extras section and check the status of the Google USB Driver package to make sure that it is listed as Installed.
  3. If the driver is not installed, select it and click on the Install packages button to initiate the installation.
  4. Once installation is complete, close the Android SDK Manager.

Complete instructions on http://www.techotopia.com/index.php/Testing_Android_Studio_Apps_on_a_Physical_Android_Device (check "Windows ADB Configuration" section).

I basically updated a lot of stuff and then it worked in both Android Studio and Eclipse!

0
1

For about 3 weeks, I faced the same problem.

After googling and trying and asking without solutions, I found that there was an Unknown Device called Android Composite ADB Interface in the Device Manager.

I had a look on this and finally resolved it by downloading the ADB Driver from here. (Maybe you need to troubleshoot your PC but the installer will tell you this.)

1

In my case, android studio selectively doesnt recognize my device for projects with COMPILE AND TARGET SDKVERSION 29 under the app level build.gradle.

I fixed this either by downloading 'sources for android 29' which comes up after clicking the 'show package details' under the sdk manager tab or by reducing the compile and targetsdkversions to 28

0
0

I solved the problem like that: go to Run and Select Clean and Rerun.

0

This is an old question but here is my solution to the exact problem if you want to use the USB driver you got from the SDK manager, seeing that the documentation @MeowMeow linked is not too current:

  1. Open "Device Manager" on Windows
  2. Find your device, mine was listed under Android Device > Android ADB Interface (I have an unbranded android device, yours might be different)
  3. Right click on your device and select "Update Driver Software"
  4. Select "Browse my computer for driver software"
  5. Select "Let me pick from a list of device drivers on my computer"
  6. There will be a "Have Disk" button below your available Drivers, Click on it.
  7. On the "Install from disk" Dialog, browse to your path_to_sdk/extras/google/usb_driver folder. There should be a file named "android_winusb.inf", select it and click "Open" and select "Ok"
  8. You should now have a new Android ADB Interface'Model' by Google inc.
  9. Click "Next" and agree to everything till you are done..

Simple...no need for extra software, but you will need to have installed the USB driver from the SDK manager (like the guy who asked the question) before following these steps.

As a side note, I am running win 8..the steps might differ for you :)

0

I face Same problem. In my case i solved this by following some steps.

  1. click attached debugger to android process (It located In android tools inside run button)

  2. if see adb not responding error dialog. then click restart of dialogue button.

  3. Now you can see which device is connected. now close this window.

  4. again press run button. Now you find your targeted device or emulator which is connected.

Hopefully it helps you.

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