Flutter报错:Android toolchain “but Android SDK not found at this location”
当前环境
- macOS 10.13.6
- Android Studio 3.5
- Android Studio 3.5
- Flutter 1.9.1+hotfix.2
- Dart 2.5.0
$ flutter --version
Flutter 1.9.1+hotfix.2 • channel stable • https://github.com/flutter/flutter.git
Framework • revision 2d2a1ffec9 (3 weeks ago) • 2019-09-06 18:39:49 -0700
Engine • revision b863200c37
Tools • Dart 2.5.0
报错“Android SDK not found at this location”
使用 flutter doctor 命令可以诊断当前的 flutter 环境的一些配置和工具的情况。
在本机环境中执行,报错 Android SDK 不再指定的路径中。
$ flutter doctor
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel stable, v1.9.1+hotfix.2, on Mac OS X 10.13.6 17G65, locale zh-Hans-CN)
[✗] Android toolchain - develop for