Android SDK not found at this lo
2020-09-29 本文已影响0人
wps_pro
背景
安装flutter doctor遇到如下问题
[✗] Android toolchain - develop for Android devices
✗ ANDROID_HOME = /Users/wps/Library/Android/android-sdk
but Android SDK not found at this location.
SDK路径也是对的,怎么百度都找不到原因,后来去Andriod--->preferences--->Android SDK--->SDK Tools下载Android SDK Platform-Tools后解决。如下图:
Preferences for New Projects
终端执行flutter doctor --android-licenses,一路输入y,最后再次输入flutter doctor,提示如下
flutter doctor安装成功