Skip to content

Reporting Bug: Android Studio crashes when opening inspector #8043

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
pndychrg opened this issue Mar 25, 2025 · 13 comments
Open

Reporting Bug: Android Studio crashes when opening inspector #8043

pndychrg opened this issue Mar 25, 2025 · 13 comments

Comments

@pndychrg
Copy link

When I open Flutter inspector in android studio, it crashes and requires a full restart of android studio
Android Studio Version : 2024.2.2 Patch 2
Linux Mint Version : Linux Mint 22.1 Cinnamon
Flutter Version : 3.27.4

@kenzieschmoll
Copy link
Member

@jwren @elliette

@jwren
Copy link
Member

jwren commented Mar 25, 2025

If you can, attach any logs from Android Studio or DevTools.

@elliette
Copy link
Member

Thanks for the report @pndychrg! Does it crash when you open any of the other DevTools panels, or only the Inspector? Thanks!

@elliette elliette added the waiting for customer response Auto-close if no response label Mar 25, 2025
@Ahmadajami
Copy link

DevTools Wont Give You Any Logs But Android Studio Does ?

@pndychrg
Copy link
Author

@elliette, Only flutter inspector is causing issues

@github-actions github-actions bot removed the waiting for customer response Auto-close if no response label Mar 26, 2025
@pndychrg
Copy link
Author

Crash Report :
plugins.txt
Extra plugins:
me.x150.intellij-code-screenshots (1.4.8)
com.github.catppuccin.jetbrains (3.4.1)
com.github.peppy.ppyjetbrainstheme (0.0.6)
com.markskelton.one-dark-theme (5.13.0)
org.kratosgado.tabout (1.2)
Dart (242.24931)
some.awesome (1.16)
com.intellij.plugins.vscodekeymap (242.20224.385)
io.flutter (83.0.3)

@elliette elliette added the P2 label Apr 2, 2025
@kenzieschmoll kenzieschmoll transferred this issue from flutter/devtools Apr 10, 2025
@HappiePlant
Copy link

HappiePlant commented Apr 15, 2025

I have the same issue with only the Dart and Flutter (latest version) plugin installed, I'm also on Linux (Fedora)

@jwren
Copy link
Member

jwren commented Apr 15, 2025

Please update to the latest Flutter SDK stable or beta, as well as the Flutter IJ plugin and confirm that the issue is still happening. Is it just that a restart is required, or that DevTools doesn't work at all. Any logs would be helpful.

@jwren jwren added this to the On Deck milestone Apr 15, 2025
@HappiePlant
Copy link

HappiePlant commented Apr 15, 2025

I've tried the latest versions of the Flutter SDK on stable and beta. Currently on

Flutter 3.32.0-0.1.pre • channel beta • https://github.com/flutter/flutter.git
Framework • revision eeb81b9a8a (4 days ago) • 2025-04-11 12:11:52 -0700
Engine • revision 72ee26e314 (6 days ago) • 2025-04-09 15:57:49 -0700
Tools • Dart 3.8.0 (build 3.8.0-278.1.beta) • DevTools 2.45.0

Opening any Flutter plugin page (Inspector, DevTools, DevTools Extensions and Deep Links) shows "Nothing to show" and then immediately freezes the IDE, crashing a few seconds later. So they are unusable for me :/
I've attached the Android Studio crash report below. Are there any more logs I can provide?

@jwren
Copy link
Member

jwren commented Apr 15, 2025

FYI @elliette @kenzieschmoll

@strangedreamsNY
Copy link

Getting this same problem, confirmed non-issue in Ladybug if that helps.

Flutter

Flutter 3.29.3 • channel stable • https://github.com/flutter/flutter.git
Framework • revision ea121f8859 (4 days ago) • 2025-04-11 19:10:07 +0000
Engine • revision cf56914b32
Tools • Dart 3.7.2 • DevTools 2.42.3

System

Android Studio Meerkat | 2024.3.1 Patch 1
Build #AI-243.24978.46.2431.13208083, built on March 13, 2025
Runtime version: 21.0.5+-13047016-b750.29 amd64
VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o.
Toolkit: sun.awt.X11.XToolkit
Linux 5.15.0-122-generic
Linux Mint 21.2; glibc: 2.35
GC: G1 Young Generation, G1 Concurrent GC, G1 Old Generation
Memory: 4096M
Cores: 36
Registry:
  ide.experimental.ui=true
Non-Bundled Plugins:
  Dart (243.23654.44)
  IdeaVIM (2.20.0)
  io.flutter (83.0.4)
Current Desktop: X-Cinnamon

@HappiePlant
Copy link

Also wanted to confirm that these tools do work for me in VS Code

@strangedreamsNY
Copy link

Getting this same problem, confirmed non-issue in Ladybug if that helps.
...

Loaded up this morning, thought to check the plugin version of Flutter in my AS installation. It was at 83.0.4 and now, after the update, it's at 83.0.1 and the inspector is working? So rollback for the win?

Tried to edit/delete this comment. I was still on Ladybug when I tried to upgrade and didn't realize it. Ladybug is still fine. Upgraded the Flutter plugin to 85.2.3, but still having the same issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

8 participants