java Android Studio未编译
我有一个问题,从昨天早上开始我就一直在想,但没有成功。我现在非常想解决这个问题
在日志控制台中,在Android Studio窗口的底部,我看到以下错误:
Error: Gradle: Execution failed for task':MyApplication2:mergeDebugResources'.
>java.io.IOException: Cannot run program "/home/user/.local/安卓-studio/sdk/build-tools/安卓-4.2.2/aapt": error=2, No such file or directory
但碰巧文件在那里。我做了一些研究,但没有成功。我在这件事上花了太多时间。我不知道为什么这是错的。我在Linux上
请帮我解决这个问题
编辑:
在处理IDE时,会发生完全相同的错误:
BUILD FAILED
/home/user/adt-bundle-linux-x86_64-20130729/sdk/tools/ant/build.xml:649: The following error occurred while executing this line:
/home/user/adt-bundle-linux-x86_64-20130729/sdk/tools/ant/build.xml:690: Execute failed: java.io.IOException: Cannot run program "/home/user/adt-bundle-linux-x86_64-20130729/sdk/build-tools/18.0.1/aapt" (in directory "/tmp/安卓8933435574063638939sketch"): java.io.IOException: error=2, No such file or directory
# 1 楼答案
请尝试安装以下组件: sudo apt get no install建议安装ia32 libs multiarch