为什么我可以在Android Studio中更改Dart-SDK路径和版本?
我的Android Studio仍然使用Dart-SDK Ver。 2.14.4即使我下载了2.16.2 我尝试更改通往我最新的Dart-SDK的路径&设置中的框架。 然后,我单击应用并运行“ Flutter Pub Get”,但仍会收到此错误消息
当前的DART SDK版本为2.14.4。
我关闭了Android Studio应用程序,然后再次打开它。 我运行“ Flutter Pub Get”,并显示同样的错误消息。 我在设置中检查了Dart-SDK路径,即使我已经更早更改了它,我不知道该路径如何回到2.14.4?
WW发生了什么? 我该如何解决?
My Android Studio somehow still used Dart-SDK ver. 2.14.4 even though I have downloaded the 2.16.2
I tried changing the path to my latest Dart-SDK in Languanges & Frameworks in Settings.
Then I click apply and run "flutter pub get" but still get this error message
The current Dart SDK version is 2.14.4.
I close the Android Studio app, then I open it again.
I run "flutter pub get" and the same error message shows.
I check the Dart-SDK path in Settings and somehow I don't know how the path goes back to 2.14.4 even though I already changed it earlier?
W-w what happens?
How can I fix this?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
Flutter SDK包含设计可与之合作的DART SDK。安装了弹奏插件时,不支持手动设置飞镖SDK。
只是升级您的flutter SDK。
The Flutter SDK contains a Dart SDK that it is designed to work with. Manually setting the Dart SDK is not supported when the Flutter plugin is installed.
just upgrade your flutter SDK.