Windows 10 Android Studio: Flutter device daemon #1 exited, but flutter run works fine

  adb, android, android-studio, flutter, windows

I have followed this guide to try and get my Pixel 2 recognized in Android Studio. However, whenever I start it up I get the following soon after:

Error

There is no additional error output in the "Event Log."

Thing is, flutter doesn’t complain much:

flutter doctor

And flutter run deploys to my phone successfully and I can interact with the application.

flutter run

The only similar issue I could find was this one, but the solution there didn’t seem to have any effect. (I already had ANDROID_SDK_ROOT set, so I just set ANDROID_HOME=%ANDROID_SDK_ROOT%). What other things could I try?

Note: I pasted screenshots instead of text because there are no descriptive errors. If it is useful to paste text I will do so.

Source: Windows Questions

LEAVE A COMMENT