[Documentation] [TitleIndex] [WordIndex

Android Studio Download

This includes both the studio and the sdk.

PreRequisites

sudo apt-get install openjdk-6-jdk

Do I need Oracle's JDK?

Android studio shows you a healthily fat warning when you start it that recommends you use oracle's jdk, or else it will be all doom and gloom. We haven't had major issues with the openjdk yet... although anecdotal evidence suggests that if you are short on memory the Oracle JDK is better. If you do want to install oracle's jdk on ubuntu:

  • Install oracle's java:

$ sudo add-apt-repository ppa:webupd8team/java -y
$ sudo apt-get update
$ sudo apt-get install oracle-java6-installer
# Switch back to openjdk anytime with sudo update-alternatives --config java
  • You might need to point the studio at java's home (/usr/lib/jvm/java-6-oracle).

Installation

$ sudo apt-get install ia32-libs

$ echo export PATH=\${PATH}:/opt/android-studio/sdk/tools:/opt/android-studio/sdk/platform-tools:/opt/android-studio/bin >> ~/.bashrc
$ echo export ANDROID_HOME=/opt/android-studio/sdk >> ~/.bashrc

$ android

$ studio.sh

2022-05-28 13:02