0

我正在尝试使用JACK SERVER构建 AOSP Android nougat rom

3 warnings
[ 34% 16872/49032] host Java: bouncyca...tle-bcpkix-
host_intermediates/classes)
warning: [options] bootstrap class path not set in conjunction with -
source 1.7
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
1 warning
[ 34% 16888/49032] Building with Jack:...l_intermediates/with-
local/classes.dex
FAILED: /bin/bash out/target/common/obj/JAVA_LIBRARIES/core-
all_intermediates/with-local/classes.dex.rsp
Communication error with Jack server (56). Try 'jack-diagnose'
ninja: build stopped: subcommand failed.
build/core/ninja.mk:148: recipe for target 'ninja_wrapper' failed    
make: *** [ninja_wrapper] Error 1

在为设备编译 NOugat rom 时出现此错误。我试图停止,杀死杰克服务器,但它给出了这些错误。

4

1 回答 1

0

你没有足够的内存。我有 12G,只有在设置了 20G 交换文件后,我才能使用 jack 服务器构建。在编译期间,我定期检查可用的内存,我看到插孔大约需要 19.8 GB ......

于 2017-03-10T03:23:58.977 回答