Android Studio 3.0.1 上未显示新的 Flutter 项目向导 [英] New Flutter Project wizard not showing on Android Studio 3.0.1
问题描述
我按照官方文档安装了 Flutter,还在 Android Studio 上安装了 Flutter 和 Dart 插件.
I installed Flutter following official document and also installed Flutter and Dart plugin on Android Studio.
但是,我在 Android Studio 3.0.1 上看不到 File>New Flutter Project 向导
But, I can't see File>New Flutter Project wizard on Android Studio 3.0.1
我运行flutter doctor"命令.请参阅下面的输出.
I run "flutter doctor" command. See the below output.
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel beta, v0.1.5, on Mac OS X 10.13.3 17D102, locale en-TR)
[✓] Android toolchain - develop for Android devices (Android SDK 27.0.3)
[✓] iOS toolchain - develop for iOS devices (Xcode 9.2)
[✓] Android Studio (version 3.0)
[✓] IntelliJ IDEA Community Edition (version 2017.3.3)
[!] Connected devices
! No devices available
! Doctor found issues in 1 category.
推荐答案
遇到了同样的问题.如果 Dart 和 Flutter 插件均已安装并在 Preferences --> Plugins 中标有锁定符号,则签入 Android Studio.
Had the same problem. Check-in Android Studio if the Dart and Flutter plugins are both installed and marked with a lock symbol in Preferences --> Plugins.
无论如何,以下程序对我有帮助:
Anyway, the following procedure helped me:
- 卸载 Flutter 插件
- 重启 Android Studio.
- 卸载 Dart 插件
- 再次重启 Android Studio,这似乎很重要
- 再次安装 Dart 插件
- 重启 Android Studio 虽然很烦人
- 再次安装 Flutter 插件
- 猜测:重启 Android Studio
上次重启后我看到了成功信息:
After the last restart I saw the success message:
我假设在 Dart 之后我们都安装了两个插件而没有重新启动.
I assume we both installed both plugins without restarting after Dart.
这篇关于Android Studio 3.0.1 上未显示新的 Flutter 项目向导的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!