Android Studio“大黄蜂” - 调试和断点不再起作用
Android Studio“Bumblebee” - 2021.1.1 补丁 2
我正在使用 Flutter 开发移动应用程序。
升级到此版本的 Android Studio 后,断点不再起作用。当我启动调试模式时,它们变成灰色:
是否需要打开或更改新设置才能使断点/调试模式再次工作?我已经在多个项目和多台计算机上尝试过此操作。每个地方都有同样的问题。我对 Android Studio 相当陌生,但在更新之前一切都工作正常。
Android Studio "Bumblebee" - 2021.1.1 Patch 2
I'm developing a mobile app with Flutter.
When upgrading to this version of Android Studio, break points no longer work. They turn grey when I start debug mode:
Is there a new setting I need to turn on or change to get my breakpoints/debug mode to work again? I have tried this with multiple projects and on multiple computers. Same issue in each place. I'm fairly new to Android Studio, but everything was working correctly before the update.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
这是 Flutter IntelliJ 插件 65.0 版本中的一个已知问题。要修复此问题,您需要降级到版本 64。
正如该问题线程中提到的,您可以通过手动安装较低版本来降级 Flutter 插件:
从 https://plugins.jetbrains.com/plugin/9212-flutter/versions。请务必选择与您的 IDE 兼容的版本。对于 Android Studio Bumblebee,您需要的版本是 64.1.2。
转到 Android Studio 设置中的“插件”。
点击标题中的齿轮图标(不在包含特定插件信息的部分,但在其上方)。
选择“从磁盘安装插件”并选择在步骤 1 中下载的 zip 文件。
This is a known issue in version 65.0 of the Flutter IntelliJ plugin. To fix it, you will need to downgrade to version 64.
As mentioned in that issue thread, you can downgrade the Flutter plugin by manually installing a lower version:
Download the desired version from https://plugins.jetbrains.com/plugin/9212-flutter/versions. Be sure to select a version compatible with your IDE. In the case of Android Studio Bumblebee, the version you want is 64.1.2.
Go to "Plugins" in Android Studio settings.
Click on the gear icon in the header (not in the section with information about a specific plugin, but above that).
Choose "Install plugin from disk" and select the zip file downloaded in step 1.
只需将 Flutter 插件更新到最新版本即可:>= 65.1.2
Just update the Flutter plugin to the latest version: >= 65.1.2