MOCKSTACKS
EN
Questions And Answers

More Tutorials









Flutter Android Emulator

Run Your App on the Android Emulator

Android Studio


1. Note that on the main toolbar there are two dropdowns then play button. The first dropdown is used to select the device/emulator to run against. The second dropdown is the run configuration. This is used to provide information about which Dart class is used as the application starting point, as well as run parameters, options.
Clicking on the play button invokes the run configuration on the device/emulator.

Visual Studio Code


1. Go back to the editor and view the file list (explorer) on the left.
2. Click on the ‘lib’ folder to open it up.
3. Right-mouse click on ‘main.dart’ and you should see a popup menu containing the commands to run or debug. Select run or debug to install and run the app on the emulator. This will run the project on the emulator.

Command-Line

1. Ensure that you are in the root folder of the project.
2. Enter the ‘flutter run’ command.

flutter run


Conclusion

In this page (written and validated by ) you learned about Flutter Android Emulator . What's Next? If you are interested in completing Flutter tutorial, your next topic will be learning about: Flutter iOS Emulator.



Incorrect info or code snippet? We take very seriously the accuracy of the information provided on our website. We also make sure to test all snippets and examples provided for each section. If you find any incorrect information, please send us an email about the issue: mockstacks@gmail.com.


Share On:


Mockstacks was launched to help beginners learn programming languages; the site is optimized with no Ads as, Ads might slow down the performance. We also don't track any personal information; we also don't collect any kind of data unless the user provided us a corrected information. Almost all examples have been tested. Tutorials, references, and examples are constantly reviewed to avoid errors, but we cannot warrant full correctness of all content. By using Mockstacks.com, you agree to have read and accepted our terms of use, cookies and privacy policy.