Developing application for linux on linux....
Android has become popular due to its flexibility, robustness, Open Source Foundation, Easy to Use. So it is important to learn to develop Android applications.
There is a prerequisite for installing Android Studio. Android Studio needs JDK for building applications. So I gonna add a short snippet about installing JDK. I gonna use JDK version 8.
sudo add-apt-repository webupd8team/java
sudo apt update
sudo apt install oracle-java8-installer
sudo apt install oracle-java8-set-default
To install android studio we gotta download the android studio setup (which normally comes in zip file for Linux). Download it in the given link Android Studio.zip
Click on Download and accept the license agreement and then android studio setup file starts to download. Once it is downloaded we need to extract it to a specific folder where we want to install it, I prefer /opt/ as the installation location. To extract it I'm gonna use the unzip program.
sudo unzip android-studio-ide-141.2178183-linux.zip -d /opt

Once it is extracted then you need to execute Android Studio once to create a desktop entry. To run the android studio you need to change ur directory to /opt/
cd /opt/android-studio/bin/
now run android studio using the following command
./studio.sh
Once it is opened let it download the needed SDK files and then in Android Studio Panel select "Create Desktop Entry" it register Android Studio as an application in your system.
Finally, Android Studio is installed in your system. So now You are free to explore your world of Android development
No comments:
Post a Comment