ADB and Xcode not detect connected devices, after update to Catalina mac os

Viewed 7743

I have updated my mac mini os to Catalina. After that Android Studio and Xcode not detect connected devices. "adb devices" command not showing any devices.

But, in Android Studio, it detects my device (on troubleshoot mode). But, it was saying, not recognized as Android device. Usb debugging is already enabled. Need help on this Catalina issue.

So far I tried:

  • Xcode command line tools installed.
  • Xcode updated.
  • Android Studio updated.
  • Android SDK updated.
  • Tried connecting with different cables.
6 Answers

I think the problem is from the OS, when I see the console log. I see an error

adb@(null): AppleUSBHostUserClient::start: missing entitlement com.apple.appledfr.client

waiting for a patch from apple

For adb it started working again, after i tried to set up the sdk path again ,

export ANDROID_HOME=~/Library/Android/sdk

I did the "Revoke USB debugging authorizations" from the Developer options on the phone and run Xcode so it would install some updates.

Once I did that, it offered up the usual "did you want to allow debugging on this device" option, and everything was back to normal.

Using zsh, I added

ANDROID_HOME=~/Library/Android/sdk

to my .zprofile file (if you don't have one, just create it with touch .zprofile in your home directory) and rebooted.

After Mac OSX is upgraded, then open Xcode to install the components. Then connect your android phone through USB rather than double type-c. After that, do the "Revoke USB debugging authorizations" from the Developer options on the phone. Then adb devices list will show the connected phone.

1) go to and install www.android.com/filetransfer 2) then revoke the USB debugging authorizations on android device 3) make sure you are running the old bash (in Catalina), to do this: chsh -s /bin/bash
4) unplug Android device from USB cable 5) restart Mac Catalina 6) plug back in Android device 7) run terminal (bash) 8) adb devices it should show up, note: I had tried to run the Android File Transfer app after installing it, but it never would run. With that said, it seems to try and run something when it detects the cable being plugged in. Disclaimer: I don't know if this will work for you, but these are the steps I ran through to get it to work for me

Related