Search code examples
androidmacosandroid-studiousb

Android studio on Mac cannot detect connected USB phone


Constant issue with being able to connect an Android device via USB to Android Studio running on a Mac.

Tried numerous things like:

  • Switching USB debugging mode on Android to MTP or PTP
  • Restarting the Android devices and Android Studio and/or Mac
  • trying adb kill-serverand then adb devices, which usually resulted in:

    List of devices attached

    daemon not running. starting it now on port 5037

    adb E 655 23135 usb_osx.cpp:327] Could not open interface: e00002c5

    adb E 655 23135 usb_osx.cpp:289] Could not find device interface

    daemon started successfully

    But not actually finding the connected device.


Solution

  • There are some great responses that worked for others, like this one or this one which seemed to work for others.

    In my case, the issue was Tizen Studio (I was working on a watch app for Samsung Gear). Through this poster's research, found that the adb error could not open interface: e00002c5 implies that the usb device is already in use by some other driver.

    So it seems Tizen Studio takes up the usb driver resource even though it is not using it. Quitting the application will automatically allow adb devices to list your device and run the project on it.

    Hope this helps other lost souls.