Ubuntu – How to install ia32-lib on 64 Bit System

androideclipse

I am new on Ubuntu and setting android environment.I googled too much for this problem but nothing is helping !! when I open eclipse and test android sample project I get a error saying "R cannot be resolved"

Error executing aapt. Please check aapt is present at /home/rahul/android-sdks/platform-tools/aapt
Hint: On 64-bit systems, make sure the 32-bit libraries are installed: sudo apt-get install ia32-libs

on trying sudo apt-get install ia32-libs

E: Could not get lock /var/lib/dpkg/lock - open (11: Resource temporarily unavailable)
E: Unable to lock the administration directory (/var/lib/dpkg/), is another process using it?

Best Answer

sudo dpkg --add-architecture i386
sudo apt-get update
sudo apt-get install ia32-libs
Related Question