Reputation: 1192
I am trying to connect my android device on mac to test application I developed. First I installed USB driver, then I activated in my phone the developer option by tapping on Build Number and then tick USB debugging option. Once I did all those steps when I connect my android mobile, my Mac still not recognize my device. Any idea to solve it?
Upvotes: 40
Views: 139176
Reputation: 31
Check your USB cable to make sure it’s working, and try different ports on your Mac. Also, see if you need to allow your Mac on your Android when you plug it in. If it still doesn't work, you might want to use Android File Transfer or MacDroid to help with the connection.
Upvotes: 0
Reputation: 1192
I after few research and testing of existing solutions, I found mine, my issue was released while I have installed Android file Transfer for Mac (download).
Upvotes: 71
Reputation: 244
What helped me finally connect was going to Settings -> Developer Options -> Turn on USB Debugging.
Upvotes: 0
Reputation: 471
If your device was previously authorized/working but no longer, I found that I can get the Android device to trigger the prompt to authorize the Mac again by changing the mode of the USB connection to USB tethering
Tap that to go to the USB settings (or go there directly from the Android settings), and then select "USB tethering"
Upvotes: 2
Reputation: 14622
For me what fixed the problem is
Upvotes: 0
Reputation: 5441
Maybe it's your USB cable, try another one.
There are two types of USB cables:
Upvotes: 69
Reputation: 1036
Make sure to have debugging by usb enable on your device.
It is an option inside "Developer options"
Upvotes: 3
Reputation: 81
I found this solution to be helpful to resolve this problem
Connect your Android to your Mac via USB.
Unlock your Android's screen. ...
Swipe down to open the Android Notification Panel.
Tap the USB option in the Notification Panel. Tap "File transfer" or "MTP."
Click the Go menu and select "Applications."
Double-click "Android File Transfer."
https://discussions.apple.com/thread/250023078
Upvotes: 8
Reputation: 856
check your android sdk tools, install your sdk-plateform-tools package.then it is ok
Upvotes: 0
Reputation: 116
Just to add my experience here. I had a similar problem with my mac book pro and my Google Pixel 1 device. For me when running adb devices
locally, I was no longer showing my device on the list. I would see any emulators I had running, but not my physical device.
My solution and steps:
My device then prompted me to allow debugging from my computer and everything continued to work as expected. adb devices
resulted in showing my connected device.
Hopefully, this will help someone else if the above does not.
Upvotes: 5
Reputation: 12955
I've recently (2018) started to have this issue, and have found the only way to get my device connected is to use a USB hub. I have not been able to track down a root cause but will edit this answer if I can find a solution rather than a workaround.
Upvotes: 2
Reputation: 2790
I have an HTC U11 and a MacBook Pro (2017). It used to work most of the time, but I experienced issues with it once or twice. Then a restart of the Mac solved the problem.
Recently I was not able to USB debug. adb devices
gave nothing, even though my phone said I'm USB debugging (even asked if I wanted to).
After trying many things the solution was to connect my phone and run HTC Sync Manager (I also had to update it). Then it magically started to woek.
I hope it helps somebody.
Upvotes: 0
Reputation: 1240
I experienced the same problem with a Moto X and my Macbook Pro. I tried many of the suggestions (installed Android File Transfer, tried different usb ports on my computer, Settings
=> Storage
=> USB computer connection
=> toggled between MTP and PTP, etc.). None of these other recommendations helped.
It finally worked when I tried a different micro-usb cable.
Bizarre. You definitely want to first enable Developer Options
first by going to Settings
=> About Phone
=> tapping Build number
7 times to display Developer Options
. From there, you want to enable USB debugging
.
Upvotes: 25
Reputation: 3880
I had this problem. The only solution was to reboot my computer. Then it started working again.
Upvotes: 4
Reputation: 6078
I connected my Android deceive with my mac:
1) If you use Android studio
, you may update to latest version of 1.0.2
or 1.1 preview
, because lower version have some problem with ADB connection.
2) You may restart your IDE once again.
3) You may go to settings
-- storage
-- three docs on the right up corner -- USB computer connection
-- enable MTP
Upvotes: 0