linux - 类型错误执行 aapt : Cannot run program "/opt/android-sdk-linux/build-tools/19.0.1/aapt": java. io.IOException

标签 linux eclipse android-emulator aapt

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

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.

关于linux - 类型错误执行 aapt : Cannot run program "/opt/android-sdk-linux/build-tools/19.0.1/aapt": java. io.IOException,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/25927125/

相关文章:

eclipse - 图形布局和XML之间的快捷方式

java - org.apache.tomcat.util.bcel.classfile.ClassFormatException : Invalid byte tag in constant pool: 15

xml - Eclipse XML 格式化程序插入不需要的换行符

android - 找到最新版本的 sdk-tools-linux-*.zip

linux - 兼容 erlang 和 rabbitmq rpm

linux - 使用 openssl 作为命令行计算 AES128 CMAC

android - 如何使用命令行(CMD)冷启动模拟器

android - 从/到Android虚拟设备向/从设备发送短信

linux - unshare --pid/bin/bash - fork 无法分配内存

c - GCC 是否检查数组边界?