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

Flutter Device Daemon crashes after installing GIT 2.45.1 #148649

Open
yesilcimenahmet opened this issue May 19, 2024 · 3 comments
Open

Flutter Device Daemon crashes after installing GIT 2.45.1 #148649

yesilcimenahmet opened this issue May 19, 2024 · 3 comments
Labels
in triage Presently being triaged by the triage team waiting for customer response The Flutter team cannot make further progress on this issue until the original reporter responds

Comments

@yesilcimenahmet
Copy link

yesilcimenahmet commented May 19, 2024

Hi,

After upgrading the GIT version to 2.45.1 on my Windows 10 machine yesterday, the Device List in Android Studio always remained stuck on Loading... Initially, I couldn't figure out why this was happening. I tried dozens of different methods and eventually ended up completely reformatting my computer and upgrading to Windows 11. I installed everything necessary, and everything was working fine. Then I downloaded and installed the GIT version, and when I started Android Studio, I received the error "Flutter Daemon terminated with exit code -1". Similarly, the Device List section broke again. I completely uninstalled GIT, and the issue was resolved. When the issue occurred, the Flutter doctor output did not report any problems.

PS:To be sure, I uninstalled GIT, and after confirming the issue was resolved, I reinstalled GIT, and the same issue occurred again.

Android Studio Jellyfish | 2023.3.1
Build #AI-233.14808.21.2331.11709847, built on April 12, 2024
Runtime version: 17.0.10+0--11572160 amd64
VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o.
Windows 11.0
GC: G1 Young Generation, G1 Old Generation
Memory: 1024M
Cores: 8
Registry:
ide.experimental.ui=true
Non-Bundled Plugins:
Dart (233.15123)
io.flutter (79.0.2)

Doctor summary (to see all details, run flutter doctor -v):
[√] Flutter (Channel stable, 3.22.0, on Microsoft Windows [Version 10.0.22631.3593], locale tr-TR)
[√] Windows Version (Installed version of Windows is version 10 or higher)
[√] Android toolchain - develop for Android devices (Android SDK version 34.0.0)
[√] Chrome - develop for the web
[√] Visual Studio - develop Windows apps (Visual Studio Community 2022 17.9.7)
[√] Android Studio (version 2023.3)
[√] VS Code (version 1.89.1)
[√] Connected device (4 available)
[√] Network resources

• No issues found!

image

@yesilcimenahmet yesilcimenahmet changed the title Flutter crashes with deamon -1 code after installing GIT 2.45.1 Flutter Device Daemon crashes after installing GIT 2.45.1 May 19, 2024
@huycozy huycozy added the in triage Presently being triaged by the triage team label May 20, 2024
@huycozy
Copy link
Member

huycozy commented May 20, 2024

Hi @yesilcimenahmet

when I started Android Studio, I received the error "Flutter Daemon terminated with exit code -1"

Do you only see this issue on Android Studio IDE? Does it re-occur each time opening Android Studio?

I updated Git on my machine to 2.45.1 but couldn't see this issue on Android Studio Hedgehog | 2023.1.1 Patch 1.

@huycozy huycozy added the waiting for customer response The Flutter team cannot make further progress on this issue until the original reporter responds label May 20, 2024
@yesilcimenahmet
Copy link
Author

Hi, @huycozy

I uploaded short video, it shows everything about issue.

Video:

device.daemon.crashes.2024-05-20.191026.mp4

@github-actions github-actions bot removed the waiting for customer response The Flutter team cannot make further progress on this issue until the original reporter responds label May 20, 2024
@huycozy
Copy link
Member

huycozy commented May 21, 2024

Thanks for the recorded video, it's so clear on how the issue appears.

Since the error is not verbose (only has Flutter device daemon #1), it's a bit hard to identify the issue. I found this answer on SO, could you try to see if it helps?

If it doesn't help, could you try running flutter doctor -v when the issue occurs? We need to see the error inside if the tool can print out. Please also check this for reference.

@huycozy huycozy added the waiting for customer response The Flutter team cannot make further progress on this issue until the original reporter responds label May 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
in triage Presently being triaged by the triage team waiting for customer response The Flutter team cannot make further progress on this issue until the original reporter responds
Projects
None yet
Development

No branches or pull requests

2 participants