Ubuntu Cannot run program "../SDK/build-tools/xxx/aapt": erro = 2 No such file or director

Posted biangbiang

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了Ubuntu Cannot run program "../SDK/build-tools/xxx/aapt": erro = 2 No such file or director相关的知识,希望对你有一定的参考价值。

64位ubuntu android Studio  Gradle编译时出现如下报错:

java.io.IOException: Cannot run program "/home/king/tools/Android/SDK/build-tools/23.0.3/aapt": error=2, 没有那个文件或目录

解决办法:

在64位上需要安装几个32位的兼容库

$ sudo apt-get install -y libc6-i386 lib32stdc++6 lib32gcc1 lib32ncurses5 lib32z1 

 

 

转自:http://blog.csdn.net/zjclugger/article/details/51360216


以上是关于Ubuntu Cannot run program "../SDK/build-tools/xxx/aapt": erro = 2 No such file or director的主要内容,如果未能解决你的问题,请参考以下文章

Error running ‘go build myfir_go_project‘: Cannot run program

Error running ‘go build myfir_go_project‘: Cannot run program

错误 'Cannot run program "/home/uv/IDE/adt/sdk/platform-tools/adb": error=2, No such fil

This program cannot be run in DOS mode.

Cannot run program “git.exe”: createprocess error=2,系统找不到指定的文件

cannot be run because the program file for 00100003 cannot be located on a distribution point