在LInux 64位系統(tǒng)下使用Android studio 編譯Android Project時(shí)遇到以下錯(cuò)誤:
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''
出現(xiàn)該問題主要原因是:Ubuntu can‘t run the aapt on 64 bit before installing this packages
解決方法: 打開終端移宅,輸入
sudo apt-get install lib32stdc++6
sudo apt-get install lib32z1
安裝完成后執(zhí)行clean build鳄厌,編譯通過~