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

最近编译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 


然后重新编译。


你可能感兴趣的:(Android)