Sunday, June 10, 2012

Android SDK installation on 64-bit Ubuntu needs ia32-libs

Android SDK still uses 32-bit based toolchain. The installation of the packages would fail if the 64-bit linux / 12.04 is not configured for 32-bit system.

You may hit error during Eclipse Installation as "platform-tools/adb libstdc++.so.6 not found"

Here are the steps

1. A good package to install before doing any development in linux as https://help.ubuntu.com/community/CompilingEasyHowTo

sudo apt-get install build-essential

If you already have figured out need for gcc and g++ then ignore this.

2. Install 32-bit standard libraries

sudo apt-get install ia32-libs

Since, it is a 64-bit system so you cannot run any 32-bit programs as standard libraries are not found. However, you can still cross-compile a 32-bit toolchain which uses 32-bit version of standard libraries that can work with 64-bit base kernel. These standard libraries are provided as ia32-libs package.

This package would also allow one to use any other 32-bit programs on this system.


No comments:

Post a Comment