Skip to content
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

DevTools window makes AS freeze completely #7597

Open
deakjahn opened this issue Aug 7, 2024 · 5 comments
Open

DevTools window makes AS freeze completely #7597

deakjahn opened this issue Aug 7, 2024 · 5 comments

Comments

@deakjahn
Copy link

deakjahn commented Aug 7, 2024

Steps to Reproduce

  1. Open Android Studio
  2. Locate the new DevTools window (or add the icon from the three-point menu)
  3. Try to start DevTools
  4. The window appears with "Nothing to show" and Android Studio freezes completely. Completely unresponsive, the only way out is to kill it from Windows Task Manager.

Log

There's no idea.log. All that appears is this new threadDumps-freeze folder, if this helps anything:
threadDumps-freeze-20240807-212340-AI-241.18034.62.2411.12071903.zip

Version info

Please paste the output of running flutter doctor -v here (available from the command
line or from Tools > Flutter > Flutter Doctor). It will provide the version of the
Flutter framework as well as of the IntelliJ plugin.

P:\Flutter\bin\flutter.bat doctor --verbose
[√] Flutter (Channel stable, 3.24.0, on Microsoft Windows [Version 10.0.22631.3880], locale en-US)
• Flutter version 3.24.0 on channel stable at P:\Flutter
• Upstream repository https://github.com/flutter/flutter.git
• Framework revision 80c2e84975 (8 days ago), 2024-07-30 23:06:49 +0700
• Engine revision b8800d88be
• Dart version 3.5.0
• DevTools version 2.37.2

[√] Windows Version (Installed version of Windows is version 10 or higher)

[√] Android toolchain - develop for Android devices (Android SDK version 34.0.0)
• Android SDK at P:/Android_SDK
• Platform android-34, build-tools 34.0.0
• ANDROID_HOME = P:/Android_SDK
• ANDROID_SDK_ROOT = p:\Android_SDK
• Java binary at: C:\Program Files\Android\Android Studio\jbr\bin\java
• Java version OpenJDK Runtime Environment (build 17.0.11+0--11852314)
• All Android licenses accepted.

[X] Chrome - develop for the web (Cannot find Chrome executable at .\Google\Chrome\Application\chrome.exe)
! Cannot find Chrome. Try setting CHROME_EXECUTABLE to a Chrome executable.

[!] Visual Studio - develop Windows apps (Visual Studio Community 2022 17.10.5)
• Visual Studio at C:\Program Files\Microsoft Visual Studio\2022\Community
• Visual Studio Community 2022 version 17.10.35122.118
• Windows 10 SDK version 10.0.22621.0
X Visual Studio is missing necessary components. Please re-run the Visual Studio installer for the "Desktop development with C++" workload, and include these components:
MSVC v142 - VS 2019 C++ x64/x86 build tools
- If there are multiple build tool versions available, install the latest
C++ CMake tools for Windows
Windows 10 SDK

[√] Android Studio (version 2024.1)
• Android Studio at C:\Program Files\Android\Android Studio
• Flutter plugin can be installed from:
https://plugins.jetbrains.com/plugin/9212-flutter
• Dart plugin can be installed from:
https://plugins.jetbrains.com/plugin/6351-dart
• Java version OpenJDK Runtime Environment (build 17.0.11+0--11852314)

[√] Connected device (2 available)
• Windows (desktop) • windows • windows-x64 • Microsoft Windows [Version 10.0.22631.3880]
• Edge (web) • edge • web-javascript • Microsoft Edge 127.0.2651.86

[√] Network resources
• All expected network resources are available.

! Doctor found issues in 2 categories.
Process finished with exit code 0

@helin24
Copy link
Member

helin24 commented Aug 8, 2024

@deakjahn can you send your logs to my email? The logs are located at Help > Show log in finder > File called idea.log. My email is [email protected].

@deakjahn
Copy link
Author

deakjahn commented Aug 8, 2024

@helin24 As I said above, there's no log. I mean, there is one if I normally use the program but if I delete the log, start AS fresh, cause it to freeze immediately and kill it from Windows, there will be no idea.log written, the program probably doesn't get any chance to flush it. The only thing that appears is the folder above.

OK, that was yesterday, today I could create a log but only before the actual issue. I'll describe it in the mail.

@helin24
Copy link
Member

helin24 commented Aug 8, 2024

Sorry I missed that! I'm looking at the thread dumps now.

Are you able to remove all of the Flutter windows from your sidebar, and then only open the Flutter inspector?
Screenshot 2024-08-08 at 10 54 55 AM

The process for opening the inspector differs a bit from the other tool windows, so I'm wondering if this one also crashes.

@deakjahn
Copy link
Author

deakjahn commented Aug 8, 2024

Yes, that works. With no running application it does nothing (small wonder) but it doesn't crash, either.

@TechnicJelle
Copy link

I'm having the same issue. My current workaround is to do flutter run in the terminal, and just use the inspector from Firefox, instead of integrated in Android Studio...
Should I send a log file, too?
The ones I can find here are rather large...

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

No branches or pull requests

3 participants