Reputation: 402
I have Android Studio on Windows 8.1 and I want to run my android app on my Samsung Galaxy S7 phone.
Here are the details:
I tried the following but still, adb devices still does not recognize my phone.
Did I miss any configuration? Any help is appreciated!
Thanks!
Upvotes: 8
Views: 52757
Reputation: 1
Guys actual issue phone was not detected by laptop, android in charging point data bus was gone bad after replacing the phone charging point type -c upon repair it started working.
Upvotes: 0
Reputation: 13
sometimes windows firewall prohibit the adb.exe in platform-tolls folder
Upvotes: 0
Reputation: 1995
I was also facing the same issue on my MAC-OS. Restarting the MAC fixed the issue.
I also installed Android File Transfer to check if this was only a debugging issue or if it was an issue with the connected devices. Even AFT wasn't working so it was definitely not a debugging issue.
I also got this message on launching Studio after restarting the MAC.
Upvotes: 0
Reputation: 2513
rebooting of the android device worked for me. Also, try to use the port USB 2.0
Upvotes: 0
Reputation: 1047
While the simple answer here is enable debug mode and install drivers, I think the answer should mention that if nothing works , do install google drivers. I stumbled on a video explaining the same, so adding the link here.
https://www.youtube.com/watch?v=asbkkV-IIZc
It helped fix my issue with oneplus device. Also, I could get the google usb drivers from android studio > sdk manager > sdk tools section.
Hoping to save someone else's time.
Upvotes: 2
Reputation: 41
I too had the same problem. I tried the following and it worked.
Make sure Developer options and USB debugging is enabled on your device Then on your Windows system.
If this works then you may see the below message on the General tab
This device is working properly.
You need to restart your computer before the changes you made to this device will take effect.
And that's how I made it work.
Upvotes: 4
Reputation: 402
I found the answer here
I just need to install Samsung USB driver and it worked fine. I guess the Google USB driver did not work for me.
Also, I didn't know that I need to install a USB driver even if I can already read/ write files to my phone when I connect it to my desktop.
In Device Manager, I was looking at the wrong device (Portable Devices). I should have been looking at Other devices and there I can see that the Samsung phone has no drivers installed.
Thanks!
Upvotes: 0
Reputation: 427
If you entered command adb devices
in cmd and don't see your device ID, you can to open Windows Task Manager and close adb.exe task. Then you need to open again cmd and enter adb start-server
and check devices again.
If you don't see your device ID after all then maybe problem in phone or drivers.
Upvotes: 0
Reputation: 817
install drivers for your device and enable developer mode for your device
Upvotes: 2