Install Java
Before you download and install the Android SDK, you need to install the proper dependencies. Start by installing a Java Runtime Environment (JRE) or Java Virtual Machine (JVM).
If you are running a 64-bit version of Ubuntu on your machine, you must first install the ia32-libs library from the Ubuntu repositories. This is a set of 32-bit runtime libraries configured for use on a 64-bit system that enables you to develop and test your 32-bit Android programs while using your 64-bit operating system.
You are free to choose either the open-source Open JDK version, openjdk-6-jre, or the Sun/Oracle version, sun-java6-jre, from the Ubuntu repositories. You must also install the appropriate matching Java SDK, either openjdk-6-jdk or sun-java6-jdk ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access