In my case, I have extracted tar file at /opt/android-studio/binfrom this directory, I’ll run the script file studio.sh.We don't recommend using Android Studio for developing Ionic apps. To run android studio go to the directory where you have extracted the tar file after that you should get the same screen as mine. Step 1:– First of all run the android studio from the terminal. So, Let’s learn how to create a desktop icon for android studio. Create Desktop icon (Permanent Solution)Įven if you create a symbolic link, you have to run the android studio from a terminal, but when choosing the create Desktop icon, it will create an icon on Application Managers.Create Symbolic link(Temporary Solution).To solve this problem we have to options: For example:- Whenever you want to run an android studio, you have to access it from the terminal where the file is stored. Well, you have successfully installed Android Studio on your Ubuntu machine from a source file, but there is a complication to run an android studio. Next step is to configure android studio. Once the file is Downloaded from Internet, Open terminal and go to the directory where file is stored, after that extract the configuration file at /opt directory to prevent from making any unwanted changes or deletions of files: $ sudo tar xvf -C /opt/ Step 3:- Install android studioĪfter that, change your current working directory to the below path and run the script called studio.shto Install Android Studio. When you pass the above command, it will ask your consent whether you want to add PPA or not? Simply press Enter key to continue.Īccepts terms and conditions Step 2:- Extract android studio tar.gz To add PPA key, do-copy paste the below code, and you will be to Install it: $ sudo add-apt-repository ppa:maarten-fonville/android-studio You cannot directly install Android Studio from Ubuntu Official Repository until and unless you don’t add PPA Key. OpenJDK 64-Bit Server VM (build 25.282-b08, mixed mode) Install Android Studio from Ubuntu Official Repository Once the java installation process gets completed pass the -version command to check version details: $ java -version openjdk version "1.8.0_282" You can simply install OpenJDK with a single command: $ sudo apt install openjdk-8-jdk The above output confirmed that we are missing OpenJDK, so we need to proceed with Installation. Sudo apt install openjdk-8-jre-headless # version 8u282-b08-0ubuntu1~20.04 Sudo apt install default-jre # version 2:1.11-72, or Once you throw a command, you should expect to get the Install JDK version, In case of the following output on the terminal screen: Command 'java' not found, but can be installed with: If a question arises, What is OpenJDK? In short, OpenJDK (OpenSource Java Development Kit) makes work easier to Implement Java features in Applications.įirst, we need to verify whether JDK is already Installed or not to check pass the below command: $ java -version To run Android Studio on your Ubuntu system, android require OpenJDK. We will not ask much from your end, Simply you should be able to install applications from the Internet on your Ubuntu Systems rest assured to us, and If you don’t how to add users into the sudo group in Linux learn more. After all, It’s up to you which method you will choose. From official source (install android studio tar.gz)Īs you can see how many different ways to Install Android Studio, and trust me, we will cover all this method.One can install Android Studio on Linux machine through several way such as: Different way to Install Android Studio on Ubuntu and Other Linux Distributions I believe this article will help for other Ubuntu versions, too, such as 18.04, 20.10 as well as other Ubuntu-based distributions like POP-OS, Linux Mint, Kubuntu, Elementary OS, and Zorin OS. Throughout this article, We will install Android Studio on Ubuntu 20.04.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |