将 Android Studio 升级到 (3.4) 并将我的 Flutter 插件升级到 (38.2.1) 后,Android Studio 启动屏幕中缺少创建新项目的选项。我已经尝试了下面详细介绍的以下内容。任何解决此问题的建议将不胜感激。
Flutter 医生总结
[✓] Flutter (Channel stable, v1.7.8+hotfix.4, on Mac OS X 10.14.5 18F132, locale en-US) • Flutter version 1.7.8+hotfix.4 • Framework revision 20e59316b8 (4 weeks ago), 2019-07-18 20:04:33 -0700 • Engine revision fee001c93f • Dart version 2.4.0 [✓] Android toolchain - develop for Android devices (Android SDK version 28.0.3) • Android SDK • Android NDK location not configured (optional; useful for native profiling support) • Platform android-28, build-tools 28.0.3 • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1343-b01) • All Android licenses accepted. [✓] Xcode - develop for iOS and macOS (Xcode 10.2.1) • Xcode at /Applications/Xcode.app/Contents/Developer • Xcode 10.2.1, Build version 10E1001 • CocoaPods version 1.6.1 [✓] iOS tools - develop for iOS devices • ios-deploy 1.9.4 [✓] Android Studio (version 3.4) • Android Studio at /Applications/Android Studio.app/Contents • Flutter plugin version 38.2.1 • Dart plugin version 183.6270 • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1343-b01) [✓] IntelliJ IDEA Community Edition (version 2019.1) • IntelliJ at /Applications/IntelliJ IDEA CE.app • Flutter plugin version 34.0.4 • Dart plugin version 191.6183.88 [✓] VS Code (version 1.36.1) • VS Code at /Applications/Visual Studio Code.app/Contents • Flutter extension version 3.2.0 [✓] Connected device (1 available) • iPhone Xʀ • D5A5B892-EA4E-4632-8562-D5A55B823E71 • ios • com.apple.CoreSimulator.SimRuntime.iOS-12-2 (simulator) • No issues found!
在 Android Studio 中,验证 Android Studio->Plugins 显示 Flutter 和 Dart 插件已启用。
在 Android Studio 中,验证了 Android Studio->Preferences->Languages & Frameworks 显示支持 Flutter 和 Dart。
升级后,退出 Android Studio 并重启 MAC。
作为一种解决方法,我正在从命令行创建一个新项目,然后从 Android Studio 编辑和运行该项目。