android studio导入flutter项目报错:Dart SDK is not configured
发布网友
发布时间:2023-03-26 21:49
我来回答
共1个回答
热心网友
时间:2023-10-22 08:03
在Android studio中导入flutter项目时报错:Dart SDK is not configured,这是因为在android studio里面没有配置Dart SDK的问题,可以通过下面步骤进行配置:
1.打开File =》Setting =》Language & Frameworks => Dart
2.勾选 “enable Dart support for the project”,并且选择Dart SDK path,路径为 D:\install\android\flutter\bin\cache\dart-sdk ,其中D:\install\android\flutter是flutter SDK路径
3. 然后点击确定,重新编译即可