Specify paths to the Flutter SDK

First of all, they suggest indicating the paths to the Flutter SDK. For this you need:

Find the directory where flutter was placed. If you followed the instructions, the path should look like this.

/home/user/development/flutter/bin

Open or create file

$HOME/.bash_profile

Add the path to the flutter sdk to this file

export PATH=$PATH:/home/user/development/flutter/bin

Update bash environment

source $HOME/.bash_profile

You can check that the path is added.

echo $PATH

Install Android Studio

Since this is a configuration guide for Linux, you can use the installation of Android Studio through the
snap
system packages. It really is easier.

sudo snap install android-studio --classic

I’ll skip the default Android Studio setting, for example, setting a color scheme. Since the most important point is to install plugins for working with Dart and Flutter.

Android Studio Settings

Find these parameters in the settings
File -> Settings

Dart Plugin

Flutter Plugin

Acceptance of licenses

You will need to run
flutter foctor --android-licenses
again to comply with all licenses.

Start a new Flutter project

After that you will be able to create Flutter project
Start a new Flutter project

Select Flutter application

Specify Flutter SDK

Specify the domain of the company

After which a Flutter project will be created.

Pay attention to the project structure. External Libraries must have all the necessary components:

Dart Packages

Dart SDK

Flutter for Android

If some of the items are not available, then you may need to either reinstall Flutter or correctly configure the paths in the IDE settings.

Dart Settings

Flutter Settings

Connecting Android Smartphone

Next, connect a smartphone to your Android computer to perform the last item on the required components. You can certainly use an emulator, but personally I prefer a live device. In the end, Android smartphone in this case should be at hand.