|
发表于 2019-9-26 18:20:08
浏览:8438
|
回复:4
打印
只看该作者
[复制链接]
楼主
Ubuntu18.04
Android7.1.2
编译报如下错误:
FAILED: /bin/bash out/target/common/obj/JAVA_LIBRARIES/core-all_intermediates/with-local/classes.dex.rsp
2 errors during configuration. Try --help-properties for help.
Property 'jack.dex.output.dir' (in Options): directory 'out/target/common/obj/JAVA_LIBRARIES/core-all_intermediates/jack-rsc' is not writable (required because 'jack.dex.output.container' (defined in Options) is set to 'dir')
Property 'jack.library.output.zip' (in Options): file 'out/target/common/obj/JAVA_LIBRARIES/core-all_intermediates/classes.jack' can not be created (required because 'jack.library' (defined in Options) is set to true and 'jack.library.output.container' (defined in Options) is set to 'zip')
[ 31% 15188/48841] 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.36.CANDIDATE 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 )"
1 error during configuration. Try --help-properties for help.
Property 'jack.library.output.zip' (in Options): file 'out/target/common/obj/JAVA_LIBRARIES/sdk_v8_intermediates/classes.jack' can not be created (required because 'jack.library' (defined in Options) is set to true and 'jack.library.output.container' (defined in Options) is set to 'zip')
[ 31% 15188/48841] Docs droiddoc: out/target/common/docs/api-stubs
DroidDoc took 8278 sec. to write docs to out/target/common/docs/api-stubs
[ 31% 15188/48841] Docs droiddoc: out/target/common/docs/test-api-stubs
DroidDoc took 8695 sec. to write docs to out/target/common/docs/test-api-stubs
[ 31% 15188/48841] Docs droiddoc: out/target/common/docs/system-api-stubs
DroidDoc took 9399 sec. to write docs to out/target/common/docs/system-api-stubs
ninja: build stopped: subcommand failed.
build/core/ninja.mk:148: recipe for target 'ninja_wrapper' failed
make: *** [ninja_wrapper] Error 1
还请大佬解答!谢谢了 |
|