Android SDK not found at this location.

时间:2021-7-21 作者:qvyue

背景

安装flutter doctor遇到如下问题
[✗] Android toolchain – develop for Android devices
✗ ANDROID_HOME = /Users/wps/Library/Android/android-sdk
but Android SDK not found at this location.

Android SDK not found at this location.
Flutter doctor

SDK路径也是对的,怎么百度都找不到原因,后来去Andriod—>preferences—>Android SDK—>SDK Tools下载Android SDK Platform-Tools后解决。如下图:

Android SDK not found at this location.
Preferences for New Projects

终端执行flutter doctor –android-licenses,一路输入y,最后再次输入flutter doctor,提示如下

Android SDK not found at this location.
flutter doctor

安装成功

声明:本文内容由互联网用户自发贡献自行上传,本网站不拥有所有权,未作人工编辑处理,也不承担相关法律责任。如果您发现有涉嫌版权的内容,欢迎发送邮件至:qvyue@qq.com 进行举报,并提供相关证据,工作人员会在5个工作日内联系你,一经查实,本站将立刻删除涉嫌侵权内容。