How to install Android Studio in Ubuntu
About Android studio
Android Studio is the official IDE for Android application development, based on IntelliJ IDEA.
Concerning about the features, we can list the following:
- Flexible Gradle-based build system
- Build variants and multiple apk file generation
- Code templates to help you build common app features
- Rich layout editor with support for drag and drop theme editing
- lint tools to catch performance, usability, version compatibility, and other problems
- ProGuard and app-signing capabilities
- Built-in support for Google Cloud Platform, making it easy to integrate Google Cloud Messaging and App Engine
- And many yet to come
Install Android Studio in Ubuntu/Linux Mint
Requirements
You must at least have the following minimum requirements to run Android studio properly.- GNOME or KDE desktop
- GNU C Library (glibc) 2.15 or later
- 2 GB RAM minimum, 4 GB RAM recommended
- 400 MB hard disk space
- At least 1 GB for Android SDK, emulator system images, and caches
- 1280 x 800 minimum screen resolution
- Oracle® Java Development Kit (JDK) 7 or 8
The easiest method to install Android Studio is using PPA. Thanks to Webupd8 team for making the PPA for Android Studio.
Android Studio needs JDK 7 or JDK 8 to work properly. SO, Let us install JDK first.
To install JDK 7 on your Ubuntu, open your Terminal and run the following commands one by one.
sudo add-apt-repository ppa:webupd8team/java
sudo apt-get update
sudo apt-get install oracle-java7-installer
In case, you want to install JDK 8, then run the following commands instead.
sudo add-apt-repository ppa:webupd8team/java
sudo apt-get update
sudo apt-get install oracle-java8-installer
Click Ok to continue:
Accept the License agreement:
Java installation will start now.
After installing Java, check whether the JDK has been installed properly, using the following command:
java -version
If you see the output something like below, then congrats! You have successfully installed Java.
java version "1.7.0_80"
Java(TM) SE Runtime Environment (build 1.7.0_80-b15)
Java HotSpot(TM) 64-Bit Server VM (build 24.80-b11, mixed mode)
Now, let us install Android Studio.
sudo add-apt-repository ppa:paolorotolo/android-studio
sudo apt-get update
sudo apt-get install android-studio
Done. Launch Android Studio either from Menu or Unity Dash.
At the first launch, Android studio setup wizard will start.
Click Next to setup your development environment for Android Studio.
Click Next.
Click Next.
Finally, click Finish.
Android Studio setup wizard will start to download all necessary components.
Finally click Finish.
Here it is how Android studio looks like.
Now, start to develop your Android apps. Good luck.
Source links:
No comments:
Post a Comment