gpt4 book ai didi

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

转载 作者:太空狗 更新时间:2023-10-29 11:08:47 26 4
gpt4 key购买 nike

每当我尝试在一些更改后第二次运行 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/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com