颤振:无设备 [英] Flutter : No devices

查看:70
本文介绍了颤振:无设备的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我一直试图在Android Studio中首次运行Flutter演示应用程序. 我已经在Android Studio中安装了关于flutter的所有设置,现在我试图在模拟器中运行该应用程序,但是即使模拟器正在运行,它也一直在说没有设备".

I have been trying to run Flutter demo app for the first time in Android Studio. I have installed up all settings for flutter in Android Studio and now I am trying to run the app in emulator but it keeps saying 'no devices' even though emulator is running.

我尝试过 扑医生--android-licenses 扑医生 所有在用户设置中设置的变量 在正确的路径中正确安装了所有sdk 在此处输入图像描述

I have tried flutter doctor --android-licenses flutter doctor all set up variables in user setting installed all sdk properly in proper pathenter image description here

推荐答案

这是解决此问题的简单步骤.只需点击Android Studio工具栏上的搜索图标附近的项目结构,然后在您的个人资料图标之前,即可找到项目结构.单击它,然后选择 Project SDK ,然后按确定.您会发现您的设备正在显示.

It's a simple step to solve this. Just click on project Structure which you will find near Search icon on Android studio toolbar and before your profile icon, you will find project structure. Click on it and select Project SDK And press Ok. You will find that your device is now showing.

这篇关于颤振:无设备的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆