ninja:构建已停止:子命令失败

ninja:构建已停止:子命令失败

我点击了这个链接, https://github.com/peyo-hd/device_brcm_rpi3

我已经使用make -j4命令并收到以下错误:

1 warning generated.
[ 36% 11636/31519] Ensure Jack server is installed and started
Jack server already installed in "/home/prayasm/.jack-server"
Server is already running
[ 36% 11650/31519] build out/target/common/obj/JAVA_LIBRARIES/sdk_v8_intermediates/classes.jack
FAILED: /bin/bash -c "(mkdir -p out/target/common/obj/JAVA_LIBRARIES/sdk_v8_intermediates/classes.jack.tmpjill.res ) && (unzip -qo prebuilts/sdk/8/android.jar -d out/target/common/obj/JAVA_LIBRARIES/sdk_v8_intermediates/classes.jack.tmpjill.res ) && (find out/target/common/obj/JAVA_LIBRARIES/sdk_v8_intermediates/classes.jack.tmpjill.res -iname \"*.class\" -delete ) && (JACK_VERSION=3.26.ALPHA out/host/linux-x86/bin/jack @build/core/jack-default.args --verbose error  -D jack.import.resource.policy=keep-first -D jack.import.type.policy=keep-first -D jack.android.min-api-level=1 --import prebuilts/sdk/8/android.jar --import-resource out/target/common/obj/JAVA_LIBRARIES/sdk_v8_intermediates/classes.jack.tmpjill.res --output-jack out/target/common/obj/JAVA_LIBRARIES/sdk_v8_intermediates/classes.jack ) && (rm -rf out/target/common/obj/JAVA_LIBRARIES/sdk_v8_intermediates/classes.jack.tmpjill.res )"
Internal unknown error (500), try 'jack-diagnose' or see Jack server log
ninja: build stopped: subcommand failed.
make: * [ninja_wrapper] Error 1

这是已知问题吗?

答案1

您可以通过以下方式禁用 jack在 Android 编译中禁用 Jack

的路径javac.mkbuild/core/combo/javac.mk

- ANDROID_COMPILE_WITH_JACK := true
+ ANDROID_COMPILE_WITH_JACK := false

相关内容