Android Studio: USB device not recognized as Android device - android

I am trying to test an application on my Android phone (Samsung Galaxy S8), but I cannot see it in the available devices menu in Android Studio. I can see it as a USB device is not recognized as an Android device.
This seems strange, considering that I have enabled developer mode on my phone. Furthermore, when I check to see that the driver for the device updated to the latest version, it shows that it is updated correctly.

If you are sure you did everything right, but you are still facing this problem, try to run this command in cmd:
adb kill-server
After that reconnect your phone and run:
adb start-server
And check if your phone is in devices lists by run:
adb devices
(In some cases you should restart the Android studio)

Related

Connected devices are not showing to run the project after updating the android studio to 3.5

i recently updated my android studio after update connected devices are not showing to run the project.(developer options and usb debugging mode all are fine of device side). how can i fix it?
Try to restart adb using terminal, Connect your device and type
"adb devices" command
it will restart adb and ask for the permission in phone

Android USB debug not listing in "Device choser" mac os android studio 1.4.1

I had a Android studio 1.4(mac os) and was working on my USB device connected. It was working fine for many days. But i downloaded a project which was done in Android 1.5 preview version and imported a project. Gradle asked me to sync to latest version of grade and i did sync. After that i am not able see my USB devices in device list. USB debugging is still on in devices, i rebooted Android studio, mac and tried. Still same result. I toggled USB device mode, tools -> Android -> Enable ADB. I am exhausted. I am not sure if this issue is anything related to grade sync, but problem is issue started for me after the sync.
Pls help
EDIT:
sudo ./adb kill-server
sudo ./adb start-server
sudo ./adb devices
even, this did not work. devices list only emulator not USB connected device
I am not sure what solved my problem, but here is what i did
I checked if the device is listed going to Mac OS X, about page
Connected to different USB port, assuming that if it could be issue due to USB2 and USB3 connected devices
Finally, Once i was waiting for my mobile to show up but it did not showup but when i unlocked my mobile and waited for some time it showed up in device list.
I really not sure about what was the issue...but these worked for me...

Android device appearing in adb but not Eclipse

Android debug bridge (adb) recognises a connected phone in usb debugging mode
$ ./adb devices
List of devices attached
SH11KPL04620 device
But Eclipse doesn't see the same device:
Run as -> Android application
Android Device Chooser
Choose a running Android device
(none listed)
Make Sure Ur use debuging is On
Make Sure ur code built version is compatible with device android version
ur can try adb reset as shown below:

Adb can't find my device

I was developing an android application from Eclipse, connecting my Acer ICONIATAB A 500, with Android 3.0.1. And I did not have any problem.
Now I'm trying to developing the same application on Acer ICONIATAB A 501, with Android 3.2
and my ADB can't find the new device, while Windows can find it! I set in my tablet Debug USB option active, and I installed the appropriate driver on Windows.
I installed even the last Google USB driver (Rev. 7)
I tried to list the device find form adb with command
adb devices
from command line, but List of devices attached is empty.
What can i do?
execute these line
adb kill-server
adb start-server
if it is mobile device check that in settings, developers options , debugging mode is checked or not
You need to install LGUnitedMobileDriver package from the LG website, even though Windows 7 automatically installed USB drivers for the phone.
Try to update your Android-SDK on your computer (in Eclipse or whatever IDE you are using), this helped me solve a similar Problem.

How to enable MacBook to recognize android devices

For Windows, Google provides USB Driver but Google USB Driver is not compatible with Mac OS and I read that anything did not need to Mac OS and Linux.
I've already set "USB Debugging ON" on my android device.
Followings are my development environment.
OS: Mac OS 10.6.8
Android Device: Google Nexus S
Android OS: 4.0.3
IDE: Eclipse SDK 3.7.2
The application I make uses camera, so I need to debug with devices.
It should just work.
I would imagine there's something else going on. Plug your phone in and try listing it from the command line:
$ adb devices
If it's not, try restarting the adb server:
$ adb kill-server
$ adb start-server
After you restart the server, if the device still isn't listed, unplug then plug in again to a different USB port. Failing that, restart the system.
Once the device appears when using the $ adb devices command, try obtaining a shell:
$adb shell
If that fails, I would make sure your SKD is up to date as well as the ADT Eclipse plugin.
I've had similar issues too and it seemed like it was related to the USB hubs not working properly. Trying resetting your PRAM and see if that helps.
Your Android device needs to be in Developer Mode.
Go to Settings > About phone and tap many times on the Build-Number.
See here: http://www.gottabemobile.com/2013/11/09/disable-sms-text-google-hangouts/

Categories

Resources