简体   繁体   中英

Android Studio doesn't recognize device on MacOS even though adb recognizes it

Hi I am running Mac OS 10.15.3 and I wanna debug my app from Android Studio 3.6.1 to my Nexus 5 . But Android Studio for for some reason doesn't recognize device even though if I run adb devices it lists my device and says that it is connected. I checked USB settings in phone and I enabled debugging and tried setting MTP and PTP. Also in Android Studio under "Device File Explorer" I see error message saying:

"Error Initializing ADB: Android Debug Bridge not found.

Even though it is installed and I can issue adb commands through terminal.

Did anyone had this issue with MacOS and Android Studio ?

This problem is related to the last update of Android Studio. Check this: https://stackoverflow.com/a/60872065/8083220 .

You can check if the tools are up to date.

Find this icon in the top-right of Android Studio.

在此处输入图片说明

It opens Android SDK menu. Now, click on the SDK Tools pane.

在此处输入图片说明

Update all the outdated tools that you can and retry. I now this is not the best answer but give it a try.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM