tracksnsa.blogg.se

Android studio ubuntu
Android studio ubuntu








android studio ubuntu

If you want Android 11 just put android-30, and for the older ones, you can downgrade the number. The android-29 means we are getting Android 10 in our emulator. Type the following lines in your terminal. Now our environment variables are created, and to make it work, all we need to do is type the line below in the terminal: # Flutter export FLUTTER=$HOME/flutter export PATH=$FLUTTER/bin:$PATH I will also move it to my home directory. Move the flutter folder to a new directory.

android studio ubuntu

Go to where you downloaded the Flutter package and extract it. # Android export ANDROID=$HOME/Android export PATH=$ANDROID/tools:$PATH export PATH=$ANDROID/tools/bin:$PATH export PATH=$ANDROID/platform-tools:$PATH # Android SDK export ANDROID_SDK=$HOME/ANDROID export PATH=$ANDROID_SDK:$PATH Flutter Note: If you did not move your Android folder to the home directory, substitute the first line with the path to where you move it. Make sure you don’t put extra spaces and then save your file. This file will keep your environment variables.Īt the end of the file, type, or copy these few lines. Go to your home directory and open the file. We’re going to move the Android folder to another directory. Now, create a new folder and name it Android, and then move the folder you extract to this new folder. Unzip commandlinetools-linux-6514223_latest.zip You can use the ls command to find out the name of the file. Go to the folder where you downloaded the command line tools package and unzip the file. Sudo apt install git Setup Environment Variables Android Note: The latest versions of Java, are showing some problems with the flutter so we will use version 8 because it is the most indicated Then download Java 8 and Git through the terminal. First download Flutter and the command-line tools










Android studio ubuntu