-
Notifications
You must be signed in to change notification settings - Fork 55
Running flutter apps
Hidenori Matsubayashi edited this page Aug 27, 2021
·
14 revisions
If you use the run
sub-command, the build
sub-command will be also done automatically. We prepare two devices for Linux desktops, which are elinux-wayland
and elinux-x11
.
Note: you need to install a Wayland compositor such as Weston and launch it before launching your Flutter apps.
You can Dart debugger and profiler in this mode.
$ flutter-elinux run -d elinux-wayland
You can Dart profiler in this mode.
$ flutter-elinux run -d elinux-wayland --profile
$ flutter-elinux run -d elinux-wayland --release
$ flutter-elinux run -d elinux-x11
You can install, uninstall, debug, and so on to remote arm64 devices such as Raspberry Pi4 from host desktops. See Remote target devices
The executable binary can be found in your project under ./build/<target_arch>/<build_mode>/bundle
.
# Checks command options
$ ./build/<target_arch>/<build_mode>/bundle/<your_app_name> --help
# Run your flutter app
$ ./build/<target_arch>/<build_mode>/bundle/<your_app_name>
See also: