A problem occurred starting process 'command '/home/reid/apps/sdk/build-tools/24.0.2/arm-linux-androideabi-ld''

在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,编译通过~

最后编辑于
©著作权归作者所有,转载或内容合作请联系作者
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。

推荐阅读更多精彩内容