赞
踩
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
斜粗体换为你自己的路径,下面是原文;
同时检查一下你的环境变量有没有ANDROID_HOME , 没有的话配置一下:
最后重启AS
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。