31.45 Flutter Devices
20210411
To list the currently available devices, we use the devices command. The first device is the default for the run and build commands.
$ flutter devices
3 connected devices:
SM G930F (mobile) • ce0546032702670f20 • android-arm64 • Android 8.0.0 (API 26)
Linux (desktop) • linux • linux-x64 • Linux
Chrome (web) • chrome • web-javascript • Google Chrome 90.0.4430.93
Under this scenario a Samsung Galaxy S7 (SM-G930F) running Android is attached and we ran this command on a GNU/Linux laptop (Ubutnu) with the Chrome browser running. Since it is listed first the Android device is the default target for a run. This will build an Android apk package and side load it on to the phone.
Your donation will support ongoing availability and give you access to the PDF version of this book. Desktop Survival Guides include Data Science, GNU/Linux, and MLHub. Books available on Amazon include Data Mining with Rattle and Essentials of Data Science. Popular open source software includes rattle, wajig, and mlhub. Hosted by Togaware, a pioneer of free and open source software since 1984. Copyright © 1995-2022 Graham.Williams@togaware.com Creative Commons Attribution-ShareAlike 4.0