我有这个问题几个月了。
Android Studio 3.2(最新版本)
Flutter 0.8.2 • channel beta • https://github.com/flutter/flutter.git
Framework • revision 5ab9e70727 (4 weeks ago) • 2018-09-07 12:33:05 -0700
Engine • revision 58a1894a1c
Tools • Dart 2.1.0-dev.3.1.flutter-760a9690c2
Running flutter doctor...
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel beta, v0.8.2, on Mac OS X 10.13.6 17G65, locale en-US)
[✓] Android toolchain - develop for Android devices (Android SDK 28.0.2)
[✓] iOS toolchain - develop for iOS devices (Xcode 10.0)
[✓] Android Studio
✗ Flutter plugin not installed; this adds Flutter specific functionality.
✗ Dart plugin not installed; this adds Dart specific functionality.
[✓] Android Studio (version 3.2)
[✓] IntelliJ IDEA Community Edition (version 2018.1)
[✓] VS Code (version 1.27.2)
[✓] Connected devices (2 available)
观察到Android Studio存在teo插件问题... 这些插件已安装,我仍然可以使用Flutter为iOS和ANDROID进行编译。但仍在OSx上寻找解决方案
答案 0 :(得分:0)
您可以按照以下步骤 install the Flutter and Dart plugin in Android Studio :
现在运行Android Studio。
运行some_data.var2
。您应该得到以下输出:
答案 1 :(得分:-1)
解决方案非常简单。您必须在android studio中安装Dart插件。
在Mac上:
在Windows和Linux上: