Flutter和Dart插件均已安装在AndroidStudio(v3.6)中,但flutter Doctor似乎无法识别它们。
通过JetBrains工具箱安装了AndroidStudio
Flutter医生正在报告:
[√] Flutter (Channel stable, v1.12.13+hotfix.8, on Microsoft Windows [Version 10.0.18363.720], locale en-AU)
• Flutter version 1.12.13+hotfix.8 at D:\Flutter\sdk
• Framework revision 0b8abb4724 (7 weeks ago), 2020-02-11 11:44:36 -0800
• Engine revision e1e6ced81d
• Dart version 2.7.0
[√] Android toolchain - develop for Android devices (Android SDK version 29.0.2)
• Android SDK at C:\Users\tradj\AppData\Local\Android\Sdk
• Android NDK location not configured (optional; useful for native profiling support)
• Platform android-R, build-tools 29.0.2
• ANDROID_HOME = C:\Users\tradj\AppData\Local\Android\Sdk
• Java binary at: C:\Users\tradj\AppData\Local\JetBrains\Toolbox\apps\AndroidStudio\ch-0\192.6241897\jre\bin\java
• Java version OpenJDK Runtime Environment (build 1.8.0_212-release-1586-b04)
• All Android licenses accepted.
[!] Android Studio (version 3.6)
• Android Studio at C:\Users\tradj\AppData\Local\JetBrains\Toolbox\apps\AndroidStudio\ch-0\192.6241897
X Flutter plugin not installed; this adds Flutter specific functionality.
X Dart plugin not installed; this adds Dart specific functionality.
• Java version OpenJDK Runtime Environment (build 1.8.0_212-release-1586-b04)
我已尝试卸载并重新安装AndroidStudio。插件是在AndroidStudio中配置的。
任何帮助将不胜感激
[android studio中的Flutter Doctor只有在android设置中为flutter和dart设置了它们的SDK路径后才能正常工作。检出文件>设置>语言和框架>飞镖和颤动并在此处设置其路径。之后它将开始工作。这对我有用。