执行aapt时出现类型错误:无法运行程序/opt/android sdk linux/build tools/19.0.1/aapt";:java.io.IOException

执行aapt时出现类型错误:无法运行程序/opt/android sdk linux/build tools/19.0.1/aapt";:java.io.IOException,linux,eclipse,android-emulator,aapt,Linux,Eclipse,Android Emulator,Aapt,每当我在一些更改后第二次尝试运行android项目时,我都会遇到这个错误。如果我关闭模拟器,错误就会消失。但每次关闭emulator都不是一个可行的解决方案。我该怎么做才能解决这个问题 Description Resource Path Location Type Error executing aapt: Cannot run program "/opt/android-sdk-linux/build-tools/19.0.1/aapt": java.io.IOExcepti

每当我在一些更改后第二次尝试运行android项目时,我都会遇到这个错误。如果我关闭模拟器,错误就会消失。但每次关闭emulator都不是一个可行的解决方案。我该怎么做才能解决这个问题

Description Resource    Path    Location    Type
Error executing aapt: Cannot run program "/opt/android-sdk-linux/build-tools/19.0.1/aapt":
java.io.IOException: error=12, Cannot allocate memory: java.io.IOException: error=12, 
Cannot allocate     memory  my_project      line 1  Android ADT Problem

Description Resource    Path    Location    Type
Hint: On 64-bit systems, make sure the 32-bit libraries are installed: 
sudo apt-get install ia32-libs  my_project      line 1  Android ADT Problem
      check whether ia32-libs installed or not in ubuntu by following command
      dpkg --get-selections ia32-libs
      if you get
      ia32-libs                 install
      then it is installed otherwise you have to install it.