Install Android SDK on Ubuntu 14.04 64-bit

From WebOS-Ports
Jump to navigation Jump to search

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

From https://help.ubuntu.com/community/AndroidSDK

  • 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
./android
and just install / update the default stuff.

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

From http://www.gaggl.com/2014/05/android-sdk-issues-on-ubuntu-14_04_64bit/

"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.