Open alexmarkley opened 4 years ago
I, too, have this issue. I'll just swap the web configuration off and on when I want to screenshot. I also didn't get CI building the screenshots in Docker yet which means I'm actually toggling stuff on my local dev machine to do this...
I have the same issue. Maybe it is possible to launch the emulator using "flutter emulators --launch
Same issue here. And confirmed, disabling web as described above is a working workaround.
Screenshots cannot start an Android emulator if Flutter has been configured to enable web support per these instructions: https://flutter.dev/docs/get-started/web
Output of
flutter doctor -v
:Output of
emulator -list-avds
:Contents of
screenshots.yaml
:Output of
screenshots -v
:The emulator actually starts, but
screenshots
fails with an unhandled exception and no screenshot is generated.Workaround The workaround seems to be disabling web support:
After disabling web support,
screenshots
works as expected.