-
Notifications
You must be signed in to change notification settings - Fork 26.8k
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
Comments
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 |
Hi, @huycozy I uploaded short video, it shows everything about issue. Video: device.daemon.crashes.2024-05-20.191026.mp4 |
Thanks for the recorded video, it's so clear on how the issue appears. Since the error is not verbose (only has If it doesn't help, could you try running |
Hi @huycozy I tried the solution you mentioned on Stackoverflow but it didn't work! After removing GIT from the computer, the output of flutter doctor -v is as follows.
Please resolve this issue. |
Thanks for the update.
Please check this answer to see if it helps. Regarding |
this command solved the problem but this needs to be fixed directly. |
Do you mean it can fix issue Regarding |
Thanks for your response. Glad that command can solve both issues. I think it should be added to Flutter website on installation guideline page. For Flutter issue tracking, I found #123161, so you can follow up on it for updates. Closing this as solved. |
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.
The text was updated successfully, but these errors were encountered: