首页 > 解决方案 > 颤振医生显示无法加载ANDROID SDK

问题描述

我从官方网站安装了flutter 2.5并按照说明将其解压缩到src目录中,应用程序在chrome上运行良好,在VS Code中运行良好,但是当我运行flutter doctor时它说无法加载android sdk,安装android studio

我使用flutter config --android-sdk配置了“C:\src\flutter\flutter\packages\flutter_tools\lib\src\android”的路径,但仍然显示此错误,

Doctor summary (to see all details, run flutter doctor -v): [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颤振配置 --android-sdk` 以更新到该位置。

[√] Chrome - develop for the web
[!] Android Studio (not installed)
[√] VS Code (version 1.61.1)
[√] Connected device (2 available)`
here is the scrren shot of path [enter image description here][1]
also, it couldn't see my physical device even after USB debugging 
mode on

标签: flutterandroid-sdk-2.3

解决方案


推荐阅读