win10下AndroidStudio无法安装flutter应用到模拟器

Error: No pubspec.yaml file found.
This command should be run from the root of your Flutter project.
Do not run this command from the root of your git clone of Flutter.

在win10下用AndroidStudio安装Flutter到模拟器上一直无法使用,使用命令行

flutter run D:\workspace\android\future\flutter_app\lib\main.dart

这时会出现上面的错误信息,看到stockoverflow上面说启动oneDriver的时后会出现这个问题,解决的办法就是在oneDriver的设置中取消当我登录windows时自动启动oneDriver选项,然后就可以了

猜你喜欢

转载自blog.csdn.net/zhong1113/article/details/86499947
今日推荐