当前位置:   article > 正文

flutter no devices,No connected devices found; please connect a device, or see flutter.io/setup for

no connected devices found; please connect a device, or see flutter.io/setup

Flutter搭建完成后连接不到手机,点击就提示No connected devices found; please connect a device, or see flutter.io/setup for getting started ins

1、使用管理员模式启动AS(部分人试了可以);

2、启动Flutter目录下的flutter_console.bat,执行下面的命令

      flutter config --android-sdk /path/to/android/sdk
      flutter config --android-studio-dir /path/to/android/studio

斜粗体换为你自己的路径,下面是原文;

https://stackoverflow.com/questions/49222658/device-list-doesnt-shows-in-android-studio-using-flutter

同时检查一下你的环境变量有没有ANDROID_HOME , 没有的话配置一下:

最后重启AS

本文内容由网友自发贡献,转载请注明出处:【wpsshop博客】
推荐阅读
相关标签
  

闽ICP备14008679号