
We need to accept the Android licenses to use Flutter, so run: flutter doctor -android-licenses Now, flutter needs to know the location of our Android Studio snap, or you will be unable to build an app even if you’re not targetting Android, so run: flutter config -android-studio-dir /snap/android-studio/current/android-studio We won’t be using Android Studio for anything other than its ability to maintain the Android SDK and emulators. Run through the first-install wizard accepting all the defaults. Instead, install the community-maintained Snap Package with: sudo snap install android-studio -classicįind the Android Studio icon in your desktop applications menu, such as the dash in Gnome or the K menu in KDE, or execute in the terminal: android-studio The instructions supplied by Google require you to download and extract a. Run the following to map flutter.dart to the name dart so you can call it without the prefix: sudo snap alias flutter.dart dart We can reduce the typing required to call dart, along with reducing the cognitive load when translating any instructions that do not expect the flutter.


Run: sudo snap install flutter -classicīy default this will install the commands: To that end, I have installed Flutter and managed to get the sample application running on Ubuntu! There were a few gotchas, however, so below I’ve summarised the important steps to get a fully functional toolchain set up: Installing Flutterįirst up, we install the Flutter Snap Package. With the news from Ubuntu I decided that now is a good time to get my feet wet and find out what this new shiny is all about. I have been aware of Flutter for some time now but have been trepidation in jumping in to sample the water, because I am completely unfamiliar with the Dart programming language and was worried about making the time investment. The really interesting part of the post by Martin Wimpress, head of the Ubuntu Desktop team at Canonical, is that the new installer will be built using Flutter.įlutter is a cross-platform User Interface framework that can target Linux, macOS, Windows, Android, and iOS all from the same source code. Recently there was an announcement from Ubuntu that the desktop team are working on a replacement for the Ubiquity installer.

Dani is an active member of the WordPress, WSL, Ubuntu and Snapcraft communities. It was originally featured on her blog, we’re reproducing it here with Dani’s permission. This is a guest post authored by Dani Llewellyn.
