Install Android SDK on Ubuntu 14.04 64-bit

From WebOS-Ports
Revision as of 23:00, 9 October 2015 by Elvispre (talk | contribs) (Notes (in one place) on how to create a usable Android SDK installation)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

This is a bit of a nightmare, so...


  • Fetch and untar the Android SDK.
  • Install openjdk-6:
sudo apt-get install openjdk-6-jre openjdk-6-jdk icedtea6-plugin
cd ~/android-sdk-linux/tools
and just install / update the default stuff.

platform-tools/adb will probably fail to run with "bash: ./adb: No such file or directory".


"you need to add the i386 architecture and install libc6:i386,libncurses5:i386,libstdc++6:i386 library packages"

sudo dpkg --add-architecture i386
sudo apt-get update
sudo apt-get install libc6:i386 libncurses5:i386 libstdc++6:i386

Now adb will probably run.