Android Studio不支持Dart 3语法

0yg35tkg  于 2023-06-19  发布在  Android
关注(0)|答案(1)|浏览(138)

如何修复Android Studio在编写Dart 3代码时未执行代码建议、语法突出显示或任何Dart插件预期功能的问题?

    • Android Studio数据:**

Android Studio Bumblebee| 2021.1.1 Patch 1 Build #AI-211.7628.21.2111.8139111,构建于2022年2月1日运行时版本:11.0.11 + 9-b60 - 7590822 amd64 VM:OpenJDK 64位服务器VM由Oracle Corporation Windows 10 10.0 GC:G1年轻一代,G1老一代记忆:1280M内核:6登记处:external. system. auto. import. disabled = true

    • 非绑定插件:**Batch Scripts Support(1.0.13),CMD Support(1.0.5),Statistic(4.1.10),com. gionchat(1.3.5),com.块。intellij_generator_plugin(3.4.0),com.赫伯特。乔治。 dart extensions(0.0.1 + 3),com.赫伯特。乔治。flutter-snippets(2.1.1-stable-1),com. mallowigi(36.0),de.泰萨尔clean_architecture_plugin(1.1.0),idea.插件。protoeditor(2.3.1),com.羊驼智能插件。discord(1.10.0),Dart(211.7817),com.伊西瓜。flutter_asset_iteral(1.7.7),com.本地化flutter-intl(1.18.2 - 2020.3),com.沈勇。 Flutter refgenerator(1.2.221),org.脑子进水了kotlin(www.example.com),io.扑动(71.2.1),pl. pszklarska。pubversionchecker(1.3.5),org.智力插件。211.7142.37(211.7142.37)211-1.6.21-release-334-AS7442.40), io.flutter (71.2.1), pl.pszklarska.pubversionchecker (1.3.5), org.intellij.plugins.markdown (211.7142.37)
    • Flutter医生日志**
[√] Flutter (Channel master, 3.12.0-3.0.pre.67, on Microsoft Windows [Version 10.0.19045.2965], locale en-US)
    [√] Windows Version (Installed version of Windows is version 10 or higher)
    [√] Android toolchain - develop for Android devices (Android SDK version 32.1.0-rc1)
    [√] Chrome - develop for the web
    [√] Visual Studio - develop Windows apps (Visual Studio Community 2022 17.4.3)
    [√] Android Studio (version 2021.1)
    [√] Android Studio (version 2021.3)
    [√] Android Studio (version 2022.1)
    [√] IntelliJ IDEA Community Edition (version 2022.2)
    [√] VS Code (version 1.79.0)
    [√] Connected device (3 available)
    [√] Network resources
    • Flutter升级结果:**
Downloading Dart SDK from Flutter engine effea50196ca4ee957b24d37c3e6766654bde549...
Expanding downloaded archive...
Building flutter tool...
Running pub upgrade...
Resolving dependencies... (5.9s)
Got dependencies.
Flutter is already up to date on channel master
Flutter 3.12.0-3.0.pre.67 • channel master • https://github.com/flutter/flutter.git
Framework • revision 4f94dee851 (83 minutes ago) • 2023-06-12 01:57:26 -0400
Engine • revision effea50196
Tools • Dart 3.1.0 (build 3.1.0-197.0.dev) • DevTools 2.24.0

7gs2gvoe

7gs2gvoe1#

修复原因是我使用Android Studio 2021大黄蜂。要解决此问题,您需要更新到最新版本

相关问题