AnsweredAssumed Answered

help: android 6.0 build error

Question asked by 鹏 张 on Jul 9, 2017

When i build android 6.0, have the build error below:


/bin/bash: line 1: 24978 Killed JACK_VM_COMMAND="java -Dfile.encoding=UTF-8 -Xms2560m -XX:+TieredCompilation -jar out/host/linux-x86/framework/jack-launcher.jar " JACK_JAR="out/host/linux-x86/framework/jack.jar" out/host/linux-x86/bin/jack @build/core/jack-default.args --verbose error --multi-dex native -g -D jack.android.remove-typedef="true" --classpath out/target/common/obj/JAVA_LIBRARIES/core-libart_intermediates/classes.jack:out/target/common/obj/JAVA_LIBRARIES/bouncycastle_intermediates/classes.jack:out/target/common/obj/JAVA_LIBRARIES/conscrypt_intermediates/classes.jack:out/target/common/obj/JAVA_LIBRARIES/core-junit_intermediates/classes.jack:out/target/common/obj/JAVA_LIBRARIES/core-libart_intermediates/classes.jack:out/target/common/obj/JAVA_LIBRARIES/ext_intermediates/classes.jack:out/target/common/obj/JAVA_LIBRARIES/okhttp_intermediates/classes.jack -D jack.import.resource.policy=keep-first -D jack.import.type.policy=keep-first --output-jack out/target/common/obj/JAVA_LIBRARIES/framework_intermediates/classes.jack -D jack.java.source.version=1.7 --output-dex out/target/common/obj/JAVA_LIBRARIES/framework_intermediates/jack-rsc $tmpEcjArg
make: *** [out/target/common/obj/JAVA_LIBRARIES/framework_intermediates/with-local/classes.dex] Error 41

 

The latest error is: 

ERROR: Cannot launch Jack server

So I config the jack server false.Then i meet the error above.

 

I don`t know why. I can`t find the solution by search the internet whole day.

Hope you can anwser by chinese, but english is also ok.

Thank you very much.

Original Attachment has been moved to: nojackbuild-log.txt.zip

Outcomes