![]() ![]() ![]() Install all the necessary dependencies until Flutter doctor returns an output with all items checked, like this $ flutter doctor IntelliJ IDEA Ultimate Edition (version 2020.3) It is likely available from your distribution (e.g.: apt install liblzma-dev) ✗ The lzma development library is required for Linux development. It is likely available from your distribution (e.g.: apt install libblkid-dev) ✗ The blkid development library is required for Linux development. They are likely available from your distribution (e.g.: apt install libgtk-3-dev) ✗ GTK 3.0 development libraries are required for Linux development. It is likely available from your distribution (e.g.: apt install ninja-build), or can be downloaded from ✗ ninja is required for Linux development. It is likely available from your distribution (e.g.: apt install cmake), or can be downloaded from ✗ CMake is required for Linux development. It is likely available from your distribution (e.g.: apt install clang), or can be downloaded from ✗ clang++ is required for Linux development. Linux toolchain - develop for Linux desktop Android toolchain - develop for Android devices (Android SDK version 30.0.3) Flutter (Channel beta, 2.0.0, on Linux, locale en_US.UTF-8) A common situation in a fresh installed device may look like $ flutter doctorĭoctor summary (to see all details, run flutter doctor -v): Running Flutter doctor can tell us if there is something missing. If you are using a version of Flutter prior to 2.x, and upgrade is necessary at this point ( flutter upgrade). You may need to restart any open editors for them to read new settings. ![]() Setting "enable-linux-desktop" value to "true". So in order to create and run a Flutter Linux app, not only the application must we created with Linux as a platform, but also we have to tell Flutter to enable Linux Desktop support. Run "flutter emulators" to list and start any available device emulators. But in this case we would like to have a full-native Linux experience.įlutter may report that you don’t have any connected device $ flutter devices Adding your Linux machine as a deviceīy default Flutter expects that you connect an Android or iOS device, or even a Chrome web browser to run the app. Instead, it will focus on building a Flutter app that runs on (Ubuntu) Linux. If you are on any other distro, the installation process should be similar, with minor distro-specific differences.This post will not cover how to install Flutter on Linux, that can be easily done reading the following official guide. Also, we are using Ubuntu 20.04 (Focal Fossa) for this guide. In this case, we will be installing Android Studio to create our Android apps. Once that’s done, we will need to install an editor. To do this, we first need to download and install Flutter on our Linux PC. Install and Configure Flutter on Linuxįor the sake of this tutorial, we will be focusing on installing Flutter to help us create Android applications. As such, with the same effort, you will be able to develop apps for multiple platforms, Android as well as iOS. The best part of Flutter is that it uses a single codebase. What is Flutter?įlutter is a UI toolkit from Google that can help you create beautifully-designed, natively-compiled applications for the web, desktop, and mobile (both Android and iOS). ![]() If you are new to Flutter, don’t worry, we got that covered too as we shall go in-depth understanding of Flutter and what it brings to the table. Here is a comprehensive tutorial on how to install Flutter on Linux. Do you want to install Flutter and start creating awesome Android and iOS applications? Then you have come to the right place. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |