If there is one thing that is clear in the mobile phone industry, it is that people are finding it easier to get a Smartphone. Today there is a great variety – both economic and technical – of mobile phones and that is why much of society already has one in its possession.
Precisely because of this, the development of Android applications is becoming more attractive and interesting. So from Ubunlog we want to tell you how download and install Android Studio, The quintessential development IDE for Androidd, step by step and with the help of the Ubuntu Make tool.
Installing Ubuntu Make
As we told you, we will install Android Studio through Ubuntu Make, A very useful tool for download all kinds of development programs. To install Ubuntu Make, we need to add the corresponding repositories, update them and install the program package, as you can see below:
its add-apt-repository ppa: ubuntu-desktop / ubuntu-make
sudo apt-get update
sudo apt-get install ubuntu-make
Once we have installed Ubuntu Make (from now on umake in the terminal), we can see which platforms are supported by running the command umake -help.
Before installing Android Studio, we need to make sure that Java is installed on our PC. If you do not know if you have it installed or not, you can run the command java -version from the terminal, and, if you get a specific version, you have it installed.
If you do not have Java installed, you can do so by running the following commands:
sudo apt-get install default-jre
sudo apt-get install default-jdk
These commands install the Java Runtime Environment (JRE) and the Java Development Kit (JDK) you will need it to be able to compile Java from Android Studio. Also, you should install OpenJDK by default. Once you have Java installed, you can proceed to install Android Studio.
Installing Android Studio
Now yes, we can proceed to install Android Studio using Ubuntu Make. To do this, we must execute the command umake android from the terminal, and the installation process will begin.
Installing SDK Tools
For Android Studio to work properly, you need to download the Tools SDK, A tool that will provide you with different packages that you will need, such as the APIs for each version of Android. You can download SDK Tools from here. Once you have downloaded the program, unzip the .zip file you downloaded and memorize well where you unzipped it, as you will later need to access this directory.
Two packages you may need
If your PC is 64-bit, you will need it download two packages so that Android Studio can run smoothly. These packages are C ++ libraries used by Android Studio and are not installed by default on 64-bit PCs, such as i
sudo apt-get install package_name
Configuring Android Studio
The first step is to tell Android Studio where you have the SDK Tools folder. You can do this from File -> Project Structure, And from there select the folder you unzipped when you downloaded the Tools SDK.
Once you have the SDK running in Android Studio, you can access it from the IDE itself, from the tab tools, By clicking on Android and then in SDK Manager.
Well, now is the time to install API’s, different services offered by Google, and other packages that will be very useful when developing your Android applications. In the Android Studio SDK Manager, you will see that there are three tabs; SDK Platforms, SDK Tools i SDK Update Sites.
en SDK Platforms, You need to download the API of the version for which you want to develop. I have API 16 (Android 4.0.3) installed, as the vast majority of mobile versions today are 4.0.3 or higher. However, feel free to install the API you want, as long as you are aware that mobiles with versions that fall below the API you have installed, they will not be able to run the application you are developing.
en SDK Tools you must install the following packages:
- Android SDK Build Tools
- Android SDK Tools
- Android SDK Platform-Tools
- Free documentation for Android SDK
- GPU Debugging Tools,
- Android Support Repository
- Android Support Library
- Android Auto API
Remember that to install both the APIs you want and the packages listed above, you must first mark them to install and then click Apply i Ok, For the installation process to begin.
Also, all packages from SDK Update Sites they should already be installed by default. If not, just mark them so that they are installed as well.
The package installation process usually takes quite a while, so don’t be in a hurry. If the installation process is interrupted for whatever reason, we recommend that don’t try to resume. Otherwise internal problems of the IDE could be generated that always usually give much headache if you want to fix them. So the best thing you can do is delete the folder from the Tools SDK, download the program again, tell Android Studio where you unzipped the new SDK, and proceed again with the installation of the packages from the SDK.
Once the installation process is complete, restart Android Studio and you should be ready to start developing your own apps without any problems.
We hope you enjoyed this post and helped install Android Studio easily. If you have any problems or questions, leave them in the comments section.