Ubuntu Cannot run program "../SDK/build-tools/xxx/aapt": erro = 2 No such file or directory
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