Skip to main content

Flutter Dev Setup

· One min read
Sarthak Mohanty

Flutter Install for Arch Linux

- https://docs.flutter.dev/get-started/install/linux

setting flutter path

export PATH="$PATH:/home/cosmicsarthak/development/flutter/bin"

Android studio Install

Extract the tar.gz file ⇢ tar xvfz android-studio-2021.2.1.15-linux.tar.gz on Command Line

  • Then just run/execute the studio.sh from "Downloads/android-studio/bin/studio.sh"

  • Then inside Android Studio ↴

    • More Actions ⇢ SDK Manager
      • ⇢ SDK Tools ⇢ Android Studio Command-Line Tools(latest)
  • flutter doctor --android-licenses Accept as 'y' to all


Flutter Web Setup

- `sudo ln -s /usr/bin/google-chrome-stable /usr/local/bin/google-chrome`

```
On Arch Linux, the executive file of the proprietary version of google chrome has the name
google-chrome-stable, but flutter tries to find exactly google-chrome. Therefore, setting the environment variable for /usr/bin/google-chrome-stable has no effect.

Therefore, to solve the problem, you need to create a link to google-chrome-stable with the name google-chrome using the command sudo ln -s /usr/bin/google-chrome-stable /usr/local/bin/google-chrome
```

...