您的位置:首页 > 移动开发 > Android开发

android 6.0编译时出现ERROR:Security problem ,see jack server log

2016-12-01 18:00 966 查看
最近编译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 


然后重新编译。
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: 
相关文章推荐