【发布时间】:2021-08-28 23:54:12
【问题描述】:
大家好,当我在控制台“Flutter doctor”上输入之前,我遇到了 android-SDK 的问题:
[√] Flutter (Channel stable, 2.2.1, on Microsoft Windows [Version 10.0.18363.1500],
locale pl-PL)
[X] Android toolchain - develop for Android devices
X Unable to locate Android SDK.
Install Android Studio from: https://developer.android.com/studio/index.html
On first launch it will assist you in installing the Android SDK components.
(or visit https://flutter.dev/docs/get-started/install/windows#android-setup
for detailed instructions).
If the Android SDK has been installed to a custom location, please use
`flutter config --android-sdk` to update to that location.
[√] Chrome - develop for the web
[√] Android Studio
[√] Connected device (1 available)
我检查了平台工具,我认为我拥有安装所需的一切
我的平台工具屏幕
我的 SDK 文件夹 enter image description here
【问题讨论】: