简体   繁体   中英

Flutter Doctor Error:-X Android SDK file not found: adb

enter image description here X Android SDK file not found: adb.

While Running Flutter Doctor it is showing error like this.

Check whether platform-tools are installed or not.

adb is included in the Android SDK Platform-Tools package. You can download this package with the SDK Manager, which installs it at android_sdk/platform-tools/ .

For me, Mac Catalina automatically tend to remove adb file. So set the security in mac preferences and open Android Studio using 'Open' option.

But if you already removed adb file, you have to replace Android Platform-tools again. Hope this help!

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