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

本文转载自:http://blog.csdn.net/a567890k/article/details/52956798

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

临时解决方法:

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

解决方法:

关了JACK server在开 

在编译窗口输入:

 

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

 
出现原因:由于编译时多用户在服务器上同时编译,Jack端口被占用,解决问题的根本办法是每个用户的端口号都改成不一样的

 

posted @ 2017-10-31 16:31  请给我倒杯茶  阅读(419)  评论(0编辑  收藏  举报