flutter - 颤振医生显示无法加载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
解决方案
推荐阅读
- java - JavaFX 默认元素
- sql-server - 如何使用带有 Caret 的命令通过 sql server 的 xp_cmdshell 获取转义字符
- .htaccess - .htaccess to redirect to new website structure
- swift - 无效地址
- c - Valgrind 抑制错误... Grrr
- php - 如何使用服务器请求方法在同一页面上使用获取和发布
- selenium - Firefox - 使用 Selenium 隐藏浏览器框架
- azure - Azure Function App 是否仅将函数内部的传出 HTTP 调用限制为 HTTPS?
- file - Ionic 4 写入 json 文件被 CORS 阻止
- wordpress - 如何在受密码保护的 Wordpress 页面上显示密码字符