【问题标题】:Flutter error on updating Android Studio, Kotlin, Flutter, Dart plugins are incompatible with the new Android Studio version 4.0更新 Android Studio 时出现 Flutter 错误,Kotlin、Flutter、Dart 插件与新的 Android Studio 4.0 版本不兼容
【发布时间】:2020-09-16 20:26:44
【问题描述】:

我刚刚将 Android Studio 更新到 4.0,现在我的 IDE 中出现 Kotlin、Flutter、Dart 插件与新的 Android Studio 4.0 版本不兼容的错误,如何解决?

【问题讨论】:

    标签: android-studio flutter


    【解决方案1】:
    1. cmd + , 打开设置。

    2. 在标签栏中查找Plugins

      您将看到一个更新它们并重新启动 IDE 的选项(我已经这样做了,所以它没有显示该选项)。

    3. 更新后,点击Android Studio工具栏中的File > Invalidate Caches / Restart ....

    4. 运行

      flutter clean
      

    【讨论】:

    • 好消息。 Andorid studio 在更新前也会发出警告。
    【解决方案2】:

    我是如何解决这个问题的:

    1. 在您的 Android/bin 文件夹中找到并打开 idea.properties 文件
    2. 将idea.plugins.host=https://plugins.jetbrains.com 添加到文件中。
    3. 保存并关闭文件
    4. 重新启动 Android Studio

    【讨论】:

      猜你喜欢
      • 2020-09-16
      • 1970-01-01
      • 2021-01-30
      • 1970-01-01
      • 2021-02-19
      • 2020-11-24
      • 2021-01-31
      • 1970-01-01
      • 2021-10-30
      相关资源
      最近更新 更多