2014-09-19 54 views
3

每當我嘗試第二次運行android項目後,一些更改我得到這個錯誤。如果我關閉模擬器錯誤消失。但每次關閉仿真器都不是一個可行的解決方案。我該怎麼做才能擺脫這個問題?執行aapt的類型錯誤:無法運行程序「/opt/android-sdk-linux/build-tools/19.0.1/aapt」:java.io.IOException

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 

回答

3
 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. 
相關問題