在LInux 64位系统下使用Android studio 编译Android Project时遇到以下错误:
Error:Execution failed for task ':StackBlur:compileDebugRenderscript'.
org.gradle.process.internal.ExecException: A problem occurred starting process 'command '/home/reid/apps/sdk/build-tools/24.0.2/arm-linux-androideabi-ld''
出现该问题主要原因是:Ubuntu can‘t run the aapt on 64 bit before installing this packages
解决方法: 打开终端,输入
sudo apt-get install lib32stdc++6
sudo apt-get install lib32z1
安装完成后执行clean build,编译通过~