最近编译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端口被占用,解决问题的根本办法是每个用户的端口号都改成不一样的



Logo

更多推荐