Jack server 错误

来源:互联网 发布:vscode 如何打开sln 编辑:程序博客网 时间:2024/05/29 19:04

最近编译Android6.0时经常出现以下错误

Building with Jack: out/target/common/obj/APPS/SystemUI_intermediates/with-local/classes.dex
ERROR: Security problem, see Jack server log (/tmp/jack-XXXX/jack-8072.log)

make: *** [out/target/common/obj/APPS/SystemUI_intermediates/with-local/classes.dex] Error 41


解决办法:

依次输入命令:


export JACK_JAR=./out/host/linux-x86/framework/jack.jar 
./out/host/linux-x86/bin/jack-admin stop-server 
./out/host/linux-x86/bin/jack-admin start-server 


然后重新编译。

原创粉丝点击