2/15/2023 0 Comments Install android studio debianI am using android-29, you can use the version which is compatible with your Android device. So for flutter to run we need to install system-image, platform-tools, build-tools, platforms android. bashrc file export ANDROID=$HOME/Android export PATH=$ANDROID/cmdline-tools/tools:$PATH export PATH=$ANDROID/cmdline-tools/tools/bin:$PATH export PATH=$ANDROID/platform-tools:$PATH # Android SDK export ANDROID_SDK=$HOME/ANDROID export PATH=$ANDROID_SDK:$PATH # Flutter export FLUTTER=$ANDROID/flutter export PATH=$FLUTTER/bin:$PATH Now go back to the “Home” directory and open up the “.bashrc” file for setting up some environment variables cd ~ sudo gedit. Home/Android/cmdline-tools/tools Set Some Environment Variables Now move the “tools” folder to the “ Home/Android/cmdline-tools/” directory sudo mv tools/ ~/Android/cmdline-tools/ Unzip commandlinetools-linux-6609375_latest.zip Go to the folder where you downloaded this file and unzip the file. Install android command-line tools for Linux from the following URL Home/Android/flutter Install Android Command Line Tools Now move the “flutter” folder to the “ Home/Android/” directory sudo mv flutter/ ~/Android/ You can unzip it by right click on the file and click on extract here or using the terminal by the following code tar xvf flutter_linux_1.17. Go to the folder where you downloaded the zip file and unzip the file.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |