Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Android Studio doesn't see device [closed]

The AVD Manager in Android Studio doesn't show my device but adb devices does show it. Am I missing something obvious here?

like image 619
amnesyc Avatar asked May 16 '13 20:05

amnesyc


People also ask

Why is my device not showing in Android Studio?

If your device is not correctly detected in RAD Studio or in the system Device Manager, check the following: Ensure that your Android device is unlocked and not sleeping while connected via USB. Set the appropriate option in Settings or Developer Options. Make sure your Android device is enabled for USB debugging.

Why is my device not showing?

Use Another USB Cord or Port A faulty USB cord may lead to Android not showing up on PC and you can eliminate this possibility. Just use a different USB cable to connect your Android phone and PC. Or connect the phone to another USB port. Go to check if the phone is showing up in Windows Explorer.

Why can't I see my Android when I plug it into my computer?

If your android phone is still not showing up on pc after trying the first solution, it's time to restart your phone and the computer. Peradventure the connection is being interrupted by software glitches. So, before you continue, restart both devices and try connecting to the computer after that.


2 Answers

I recently had trouble with this, and regardless of what I did(restart adb, edit adb_usb.ini, restart computer+device+swap usb port, reinstall studio etc. etc.) I just couldnt get it to work, and could not even detect my device using 'adb devices'. Finally after about 2 hours of googling and testing, someone suggested switching to PTP instead of MTP on my device. When I did this I got a popup on my device asking me to allow my mac access and suddenly everything worked(had to restart studio for it to show up there as well though).

I might be bumping this thread now, but it is the first result on google search, and I had a lot of trouble finding an answer for this problem, so I thought this should be added as a solution.

like image 143
LGBoy Avatar answered Oct 23 '22 23:10

LGBoy


On your device:

Go to settings/ developer settings/ allow USB debug mode

If 'allow USB debug mode' option is disabled. Then you might have the device currently connected to your PC. Disconnect the device and the option should now be available

Note: On Android 4.2 and newer, Developer options is hidden by default. To make it available, go to Settings > About phone and tap Build number seven times. Return to the previous screen to find Developer options.

If it still doesn't help, you can google it with this expression:

How to enable developer options on YOUR_PHONE_TYPE

like image 22
Tomi Avatar answered Oct 23 '22 22:10

Tomi