1

I am working on a flutter app that is about 70 percent complete. I want to run it on multiple simulators because one of the functionalities is sending data between phones. My question is, can I do this? I am using mostly android but would like the app to be cross-platform. Thanks!

1 Answer 1

1

From the terminal, launch the emulators you want:

flutter emulators --launch <emulator id> 

(to get the emulators IDs, run flutter emulator, and they'll be listed on the left hand side)

then from the terminal:

flutter run -d all 

This command will run your app in all the running emulators. To use Hot Reload, just type 'r' in the terminal (flutter will show you the commands that you need).

Sign up to request clarification or add additional context in comments.

3 Comments

Thank you @OsaXma! Much appreciated!
Any way of doing this on VSCode?

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.