8 Nisan 2021
Updated on 23 Temmuz 2024
Install Flutter without Android Studio in Linux
article cover
swift
sudo apt install git
sudo apt install curl
cd ~/../home
mkdir development
cd development
git clone https://github.com/flutter/flutter.git
git clone https://github.com/LinuxArchives/Flutter_Essentials.git
mv Flutter_Essentials Android
wget https://dl.google.com/android/repository/commandlinetools-linux-6858069_latest.zip
mkdir ~/../home/development/Android/Sdk/cmdline-tools
unzip commandlinetools-linux-*_latest.zip
mv cmdline-tools 3.0
mv 3.0 ~/../home/development/Android/Sdk/cmdline-tools
apt install default-jre

add path to bash

swift
export PATH="$PATH:/home/development/flutter/bin"
ANDROID_HOME="/home/development/Android/Sdk"
export PATH="$PATH:/home/development/Android/Sdk/platform-tools"
export PATH="$PATH:$ANDROID_HOME/cmdline-tools/3.0/bin"
JAVA_HOME="/usr/bin/java"
swift
sdkmanager --sdk_root=${ANDROID_HOME} tools
sdkmanager "platforms;android-29"
yes | $ANDROID_HOME/tools/bin/sdkmanager --licenses --sdk_root=~/../home/Android/Sdk
flutter config --android-sdk $ANDROID_HOME
flutter doctor --android-licenses
Subscribe to the newsletter
Get emails from me about web development, tech, and early access to new articles.
Be the first to know when the blog is published
;