It is very likely that the name of Android Studio sounds familiar to you , that you have heard it on some occasion or have read something about it. But you may not be entirely clear what it is orwhat it is for.
As many of you may already know, Android Studio plays a key role in Android application development .
Android Studio is a development environment , a software, that has tools and services for developers to create new applications for Android. In this development environment you will find the necessary tools to create applications . This includes the coding and the design of the user interface of the application .
Android Studio is designed so that you can perform various actions , all of them related to creating Android applications. That is why many see it as an essential service or tool for developers. It can be used it for various things:
In this tutorial, you will learn how to install Android Studio development application on Ubuntu 18.04 using three different methods.
Android Studio needs a lot of computing power, .i.e. CPU and RAM. Here are some important specifications that your machine must meet in order to properly install and use Android Studio:
Before installing Android Studio, you would first need to install the Java Development Kit from Oracle. Follow our article to do so.
Read: Best Android emulators for Windows 10
This is the easiest way to install software on your Ubuntu 18.04. Open your Ubuntu Software area and search ‘Android Studio’ in the search box as shown below. It will show up in the first position.
Once the software is located, installing it is as easy as clicking the install button . After a successful installation process, you should be able to locate the launcher in Ubuntu. If it installed successfully, you can skip the remaining methods and review the final configuration section.
The Snap tool can be very useful for installing software packages . Snaps are containerized software packages that make the installation process easy. There are no files to modify or write any commands.
However, you must first have Snap installed on your machine. To install Snap , you just have to open a terminal (Ctrl + Alt + T) and type in the apt command below:
sudo apt install snapd
After successfully installing Snap, you can now proceed to install Android Studio with the following command:
sudo snap install android-studio
Read: Best Android phone cleaner apps
This will take a while, you have to wait a few minutes. It is expected to install successfully, but if for some reason the installation fails due to an error like the following:
You will need to add the –classic parameter to the command as shown below:
sudo snap install android-studio –classic
If it installs successfully, you can skip the other methods and review the final configuration section.
Android Studio can also be installed using umake which was formerly known as Ubuntu Developer Tools Center. Ubuntu Make offers a command line utility that helps install several development tools. Since Ubuntu Make is accessible from the Ubuntu repository, you would just need to run the command below to install it :
sudo apt-get install ubuntu-make
Now install Android Studio , invoke the command below:
umake android
This is a reliable method to install Android Studio . However, it may take some time.
First you will need to install the Java Development Kit. Refer to our article on how to do this.
Next you can proceed to the download of the Android Studio zip file from its android studio online official page.
This can be done with the following commands:
wget https://redirector.gvt1.com/edgedl/android/studio/ide-zips/4.1.2.0/android-studio-ide-201.7042882-linux.tar.gz
Now using the tar command, you can unzip the file above.
To run Android Studio, go to the bin directory located in the unzipped Android Studio directory and run the file studio.sh .
This will launch the Android Studio installation, but first, we are going to symbolically link the studio.sh file with the / bin directory . In this way you can run Android Studio from any directory on the command line. Invoke the following command:
sudo ln -sf /opt/android-studio/bin/studio.sh /bin/android-studio |
The post How to Install Android Studio on Ubuntu 18.04 appeared first on net2.
Canonical is continuously hiring new talent. Being a remote- first company, Canonical’s new joiners receive…
What is patching automation? With increasing numbers of vulnerabilities, there is a growing risk of…
Wouldn’t it be wonderful to wake up one day with a desire to explore AI…
Ubuntu and Ubuntu Pro supports Microsoft’s Azure Cobalt 100 Virtual Machines (VMs), powered by their…
Welcome to the Ubuntu Weekly Newsletter, Issue 870 for the week of December 8 –…
Canonical is pleased to announce security patching and support for Valkey through the Ubuntu Pro…