/home/catia/android-sdks/platform-tools/aapt: error while loading shared libraries:
libz.so.1: cannot open shared object file: No such file or directory
/home/catia/android-sdks/tools/mksdcard: error while loading shared libraries: libstdc++.so.6: cannot open shared object file: No such file or directory
[2012-01-01 19:00:18 - SDK Manager] Failed to create the SD card.
[2012-01-01 19:00:18 - SDK Manager] Failed to create sdcard in the AVD folder.
or any other like these..This is because, Android SDK is compiled for a 32-bit GNU/Linux system, and your system is a 64-bit system. To solve this error, install the 32-bit versions of all the most commonly used libraries, by installing the ia32-libs
package
Go to the terminal and type the following command.
sudo apt-get install ia32-libs
This will solve the issue.
The following packages have unmet dependencies:
ia32-libs : Depends: ia32-libs-multiarch
Does not work on Ubuntu version 12.04 and up.. any other ways?
The ia32-libs package has been removed in Ubuntu 12.04+. You can now install these packages with:
sudo apt-get install libc-i386 lib32z1 lib32stdc++6
More details: http://www.dev-smart.com/archives/759