Hi, Iβm trying to install Flutter , is the 3 time I try, but I always end in some error, any one know a proven way to install it correctly ??
I need also Android-studio.
Thanks
last one was missing ANDOID_SDK_ROOT.
But at the moment I removed all and cleaned the system to start fresh again, when I can find a tutorial that is up to date
so itβs not a problem at the installation but a bad user var after install
After reboot, we have some env variables, for flutter i have ANDOID_SDK_ROOT, FLUTTER_ROOT and CHROME_EXECUTABLE(if chromium installed)
android-sdk is a dependency and write at install instructions for add this var
if all config is good, doctor return ok
$ flutter doctor
Doctor summary (to see all details, run flutter doctor -v):
[β] Flutter (Channel stable, 2.2.1, on Linux, locale fr_FR.UTF-8)
[β] Android toolchain - develop for Android devices (Android SDK version 30.0.3)
[β] Chrome - develop for the web
[β] Linux toolchain - develop for Linux desktop
[β] Android Studio (version 4.2)
[β] Connected device (2 available)
β’ No issues found!
I did a manual install in home and did not use aur - only aur Android-studio (flutter has built-in update notifications and an update command so pacman is no interest for me)
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β A new version of Flutter is available! β
β To update to the latest version, run "flutter upgrade". β
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
$ flutter upgrade
Upgrading Flutter to 2.2.2 from 2.2.1 in /home/patrick/.local/bin/flutter...
Downloading Dart SDK from Flutter engine 91c9fc8fe011352879e3bb6660966eafc0847233...
% Total % Received % Xferd Average Speed Time Time Time Current
...
Downloading android-arm-release/linux-x64 tools...
Downloading android-x64-release/linux-x64 tools...
Downloading android-x86 tools...
Downloading android-x64 tools...
Downloading android-arm tools...
Downloading linux-x64 tools...
...
Thanks , so letβs recap.
First I have to install Android studio, then Flutter (aur or Direct ?)
Correct ??
Tahnks
Working thanks
This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.