Android Studio - No USB devices detected
Asked Answered
F

15

23

I tried to play Android Studio 2.0 with my mobile without success, what I did are:

  1. In my mobile, Apps/gear icon/Settings/SYSTEM/{} Developer options/ Android debugging/, enable the Android Debug Bridge(adb) interface (set tick).
  2. After plug in my mobile to my PC with a USB cable, I found A0001 in my Computer folder. Within A0001, I can see the files in my mobile.
  3. In my PC, run Android Studio/bin/studio.exe, "Select Deployment Target" window shows with message "No USB devices or running emulators detected"
  4. I have tried two different USB drivers but got no lucky.
  5. Perhaps I should tell Android Studio where is my USB driver? But, how? Can you help?
Flavescent answered 9/5, 2016 at 6:15 Comment(5)
Is your device showing in device manager ??Pretypify
Thanks a lot! I can only see the device name (and all the files name in the device) from "Computer". What you mean by "device manager"?Flavescent
prnt.sc/b2daa7Pretypify
I can only find Device Monitor: Tools Andorid - Andorid Device Monitor Failed to initialize Monitor Thread: Unable to establish loopback connectionFlavescent
there is one another solution. install device using adb adbdriver.com/downloadsPretypify
E
19

I had the same problem too and I managed to resolve it this way.

  1. First, enable debugger mode in your android device.

  2. Go to Device Manager from Start Menu and try to find ADB Interface with an error symbol on it. This generally happens because windows sometimes fail to load all the mobile device drives.

  3. Next, Go to http://adbdriver.com/downloads/ and download the driver installer, unzip and run it.

  4. Now go to Android Studio and you should find that everything is working fine. Chill....

Engender answered 9/11, 2016 at 9:4 Comment(0)
G
11

same here... but I hope you can avoid this problem the same way I Did.

There is an "universal ADB Driver for all Android Devices".

Yep... sounds like magic.

Just follow this link. https://devs-lab.com/usb-adb-drivers-for-all-android-devices.html

Fun fact there is no "Step 5" in that article so I'll give you.

you have to enable "USB Depuration" from "Developer Options" connect your cellphone to computer as a "MTP storage" , after windows detected your cellphone as a "Portable Device" Execute ADBDriverInstaller.exe (that downloaded from devs-lab)

check the device list and your cellphone will say "Driver incorrectly", select your cellphone and press install.

Step 6: Once the process is completed, you’ll see something like the image that appears there (in the link).

I hope that somebody else work this

Gwenore answered 18/10, 2016 at 8:0 Comment(1)
i dont forget "Tools | Android | Enable ADB Integration" must be enabled in android studioGwenore
O
6
  1. Go to Run > Edit Configurations...

  2. Under Deployment Target Options select Show Device Chooser Dialog from the drop-down-list

See picture for reference enter image description here

Outpatient answered 9/5, 2016 at 6:38 Comment(4)
Thanks a lot. However, I checked every where in my Android Studio Projects and cannot see anything similar to "Run Deployment Target Options Target".Flavescent
I have updated the answer chk it and reply for any issue@FlavescentOutpatient
Thank you for the details. After followed all the steps: (top) menu - Run - Edit Configurations - General - Deployment Target Options - Target: - USB Device - OK I clicked the run button, unfortunately, I got the message at the left bottom: "Error running app: No target device found."Flavescent
try to connect phone when it is not locked and connect in USB 2 port,sometimes it won't work in USB 3 port and before that restart your AS@Flavescent hopefully it will solve the problem.Outpatient
Y
6

After struggling with this problem for a while, I found that there are certain cables that can only charge your phone, and even though they seem to be working, they do not allow your phone to be used as a "Media Device" and therefore Android Studio does not detect it.

Yemen answered 24/5, 2017 at 16:13 Comment(0)
L
4

Go to

Tools | Android | Enable ADB Integration

Make sure it's enabled. When I upgraded to 2.X it was for some reason disabled for me and it took me hours to find it.

Livorno answered 20/5, 2016 at 12:57 Comment(1)
Thank you. Yes, it is enabled.Flavescent
F
3

I just cannot beleive why it is so difficult! let me try again and please check my steps again: I installed Android Studio 2.0, then run Computer/OS(C:)/....../Android Studio/bin/studio.exe. The Android Studio window appeared in my working area Computer/OS2(J:)/Users/MyAccount/Desktop/. I connected my mobile with my computer, Cpmputer/A0001/ appeared, from it, I can see the files in my mobile. I clicked the run icon in the Android Studio window, a "Select Deployment Target" window apeared with message "No USB devices or running emulators detected". (I got two USB ports and tried both but got the same result.)

Flavescent answered 10/5, 2016 at 23:4 Comment(0)
Y
3

Finally found the solution : )

 1. Install device’s required driver. (for me it was motorola device
    manager) 
 2. Download Google Usb Driver from SDK Manager 
 3. Open your phone's setting->developer options and turn on USB debugging. 
 4. connect your device to computer
 5. Go to Device Manager from Start Menu and try to find if there is ADB Interface with an error symbol on it. 
 5.1. If yes, then right click on the ADB interface->Update driver
    software->Browse my computer for driver software-> Let me pick from
    a list of device drivers on my computer->Select Motorola ADB interface 
 5.2. Now one confirmation will pop up in your mobile, accept it
 5.3. Now you should see no error mark beside the ADB interface in your
    device manager
Youth answered 7/7, 2017 at 15:31 Comment(0)
O
3

There are 3 steps to set up your phone for debugging:

1) Change your phone to developer's mode by going to Settings, About Phone, Software Info, Android Version - tap at least 7 times on the Build Number text. You will get a message saying you are now a Developer.

2) Enable USB Debugging in Settings - Developer Options. Make sure you are not connected to your USB port to see the USB Debugging option enabled, otherwise it will be disabled.

After you plug in your USB, swipe at the top of your screen, you will see USB Debugging on.

3) Make sure USB connection is set to Photo Transfer (or MTP - Transfer photos and videos). After you plug in your USB, swipe at the top of your screen, and you will see Tap to change USB options on the menu. Tap it, and select Photo Transfer option.

enter image description here

enter image description here

Opportuna answered 9/8, 2018 at 16:56 Comment(0)
H
3

With me, when connecting the mobile to the pc, three options appeared on my mobile.

  1. Charge this phone
  2. Transfer Files
  3. Transfer Images

I thought I should select "Transfer Files", but it dd not work
But it only when works I choose "Charge this phone"

Hypermetropia answered 23/11, 2021 at 8:19 Comment(2)
I have no idea why, because I used to deploy apps in "Transfer files" all the time, but switching from "Transfer files" to any other option enabled USB debugging authorization on my device somehow, and of course now I can deploy apps on my physical device.Matronymic
@Matronymic I am glad it worked. Thank you so much for letting us know! :) :DHypermetropia
A
2

Perhaps your mobile manufacturer does not provide the proper driver. Go to Device MAnager and look for: Android Composite ADB Interface. If it's there, the driver is properly installed. If not... You and I are on the same "wagon"... I tell you: Acer? Never again.

Abortive answered 9/8, 2016 at 18:33 Comment(0)
L
2

USB debugging somehow got turned off under developer options on my Samsung. Turned it back on and it worked, but only by clicking on "debug app" instead of on "run app".

Ledezma answered 11/6, 2017 at 2:19 Comment(0)
M
1

Few ways to resolve this problem.

Case 1: Install PdaNet+ in your system. (worked for me).

Case 2: Enable the USB debugging option in your mobile. Setting > developer > Check "USB Debugging".

Case 3: Change from MTP to PTP.(sometimes vise versa works).

Marva answered 19/3, 2018 at 8:30 Comment(0)
R
1

I couldn't find my android phone or any USB device I connect to my windows laptop on the hidden icons. Well, my mouse and phone could charge but I can't seem to see my phone in the File Explorer option. I prefer running Apps using my phone rather than emulator in Android Studio and yet I couldn't see my phone when I connect using the USB.

This helped me solve all my problems after several hours of searching for solution. Download Universal ADB Drivers - One size fits all Windows Drivers for Android Debug Bridge

Please use this link: https://adb.clockworkmod.com/

I hope this works for you like magic! I can see all the devices I connect using the USB cable and my mouse receiver.

Roi answered 9/5, 2022 at 12:25 Comment(0)
I
0

Question is Your development sdk no mobile version android sdk Platform. For example, my android phone system is 6.0, i need download sdk Platform 6.0.enter image description here

Incipit answered 27/8, 2017 at 3:47 Comment(2)
I can't tell if this is supposed to be an answer, or another vaguely-related question. Please clarify, and if it's a question, ask that separately.Ganymede
I believe VenRen is saying that you need to install the SDK version that matches your device.Salter
L
0

First, try to revoke the usb sessions in the developer options, then try downloading an oem usb driver If then doesn’t help you can try opening the device manager on windows, right click on your phone, select uninstall. This worked for me if I had the same issue.

Leet answered 15/4, 2020 at 11:26 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.