简体   繁体   English

无法定位开发设备; 请运行“flutter doctor”以获取有关安装其他组件的信息。 在 VS Code 上

[英]Unable to locate a development device; please run 'flutter doctor' for information about installing additional components. on VS Code

Getting error while installing in the new laptop (Windows 10) in vs code在 vs 代码中安装新笔记本电脑 (Windows 10) 时出错
✓ Java SDK ✓ Java SDK
✓ Android SDK ✓ Android SDK
✓ Flutter SDK ✓ Flutter SDK
✓ ADB Driver ✓ 亚行驱动程序
✓ Set Env Path for all SDK ✓ 为所有 SDK 设置环境路径
✓ run flutter config --android-sdk <path> ✓ 运行flutter config --android-sdk <path>
after that it's showing my device but when I am trying to run flutter run之后它显示我的设备但是当我尝试运行flutter run
It's showing no device found.它显示找不到设备。 I searched for other solutions but didn't help me.我搜索了其他解决方案,但没有帮助我。

Any solution?任何解决方案?
Error Screenshot Link错误截图链接

Solved解决了

Install Android API Level 29 from Android SDK Manager.从 Android SDK Manager 安装 Android API Level 29。 Then install Android Licenses from Android SDK Manager.然后从 Android SDK Manager 安装 Android Licenses。 Then run flutter doctor -v for checking proper installation.然后运行flutter doctor -v检查安装是否正确。

Another solution which I have found.我找到的另一个解决方案。 Many devs are trying to install android studio first then download all the SDK after that uninstall the android studio.许多开发人员尝试先安装 android 工作室,然后下载所有 SDK,然后卸载 android 工作室。

I hope you will get your proper solution from here.我希望你能从这里得到合适的解决方案。
github issue solved github 问题已解决

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 无法定位 android SDK for flutter 医生 - Unable to locate android SDK for flutter doctor 操作无法完成。 找不到 Java 运行时。 有关安装 Java 的信息,请访问 http://www.java.com - The operation couldn’t be completed. Unable to locate a Java Runtime. Please visit http://www.java.com for information on installing Java Flutter医生看不到vs代码,VS代码未检测到Flutter / bin - Flutter doctor does not see vs code ,VS code does not detect flutter/bin 无法运行 flutter 博士 - - 执照 - Cant run flutter doctor - - license (颤振,Linux,VS 代码,Android 物理设备)当写入 flutter 运行 =&gt; 失去与设备的连接 - (Flutter, Linux, VS code, Android Physical device) When write flutter run => lost connection to device 开发后无法在其他设备上运行应用程序 - Unable to run an application on other device after development 由于安装 SDK 失败,无法“flutter run”,但 flutter doctor 运行良好 - Unable to "flutter run" due to failure to install SDK but flutter doctor runs fine 在“flutter doctor”中显示有关 Android 工具链的错误 - Showing error in the "flutter doctor" about Android toolchain 如果通过 VS Code 运行,Flutter 运行会卡在“正在安装 build\\...\\app.apk” - Flutter run stuck at "Installing build\...\app.apk" if run by VS Code Flutter 连接设备(医生检查崩溃) - Flutter Connected device (the doctor check crashed)
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM