DEV Community

Discussion on: Let docker flutter for you

Collapse
 
matsp profile image
Mats Pfeiffer

When you use VSCode try the remote extensions to run your project in a container. That's a huge improvement. You will find the instructions on my GitHub repository.

Thread Thread
 
makarsky profile image
Igor Makarsky • Edited

I tried with both :latest and :beta.
Here is "flutter doctor" output for :beta image:
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel beta, 1.19.0-4.3.pre, on Linux, locale en_US)
[✓] Android toolchain - develop for Android devices (Android SDK version 28.0.3)
[✗] Chrome - develop for the web (Cannot find Chrome executable at google-chrome)
! Cannot find Chrome. Try setting CHROME_EXECUTABLE to a Chrome executable.
[!] Android Studio (not installed)
[✓] Connected device (1 available)

Do I need to install Android Studio on my host?

Thread Thread
 
matsp profile image
Mats Pfeiffer

Now your output is showing a connected device.

To show all emulators execute "flutter emulators".

To launch it "flutter emulators --launch flutter_emulator".

I actually found the issue you have and will push the fix in a few minutes. It comes from an incomplete refactoring.. Afterwards the right emulator will launch ;-)

Thread Thread
 
makarsky profile image
Igor Makarsky

I get the following message

The Android emulator exited with code 1 during startup
Android emulator stderr:
Address these issues and try again.

when I run

flutter emulators --launch flutter_emulator
Thread Thread
 
matsp profile image
Mats Pfeiffer

You can also use the -v flag to get more info about the issue or problem that is occurring.