I have to install Android Studio on Ubuntu and I have used this link to download Android Studio.
Is there any easy way to install Studio on Ubuntu?
To install Android Studio on Linux, proceed as follows: Unpack the .zip file you downloaded to an appropriate location for your applications, such as within /usr/local/ for your user profile, or /opt/ for shared users.
Below are the steps to install Android Studio in Ubuntu system:
1. Install JDK 6 or later
First, install Oracle JDK 8 (although you could also choose OpenJDK but it has some UI/performance issues) using WebUpd8 PPA.
sudo add-apt-repository ppa:webupd8team/java sudo apt-get update sudo apt-get install oracle-java8-installer sudo apt-get install oracle-java8-set-default
To make sure, it’s installed successfully, open a terminal and type (you should get the version number of the jdk you’ve installed e.g javac 1.8.0_11)
javac -version
2. Download and install Android Studio
Download the Android Studio package for Linux and extract it somewhere (e.g home directory). Then type :
cd android-studio/bin ./studio.sh
3. Install SDK Platforms
You need to install some SDK before you jump into building android apps. Click on Configure -> SDK Manage
r to open Android SDK Manager. Select the latest API (to test against target build, e.g API 19 (Android 4.4.2)) and some packages in Extras (Android Support Library and Android Support Repository). Then install the selected packages.
Download the Linux SDK from the Android website. Copy the folder to whereever you want to extract the contents. Open a terminal there, and then run:
sudo apt-get install unzip sudo tar xvzf android-studio-ide-135.1641136-linux.zip cd android-studio-ide-135.1641136-linux ./studio.sh
JDK 1.7 is required for Studio 1.0 onwards:
Download the jdk 1.7 by executing the following commands in terminal as mentioned webupd8:
sudo add-apt-repository ppa:webupd8team/java sudo apt-get update sudo apt-get install oracle-java7-installer
Open Android Studio and install the SDK tools.
Caveats:
Note: If you are running a 64-bit version of Ubuntu, you need to install some 32-bit libraries with the following command:
$ sudo apt-get install libc6:i386 libncurses5:i386 libstdc++6:i386 lib32z1
Source: - linux-32-bit-libraries
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With