【发布时间】:2020-09-26 08:52:43
【问题描述】:
我在构建 AOSP 7 时遇到了以下问题。
[ 45% 16221/35670] Building with Jack:...k_intermediates/with-local/classes.dex
FAILED: /bin/bash out/target/common/obj/JAVA_LIBRARIES/framework_intermediates/with-local/classes.dex.rsp
Out of memory error (version 1.2-rc4 'Carnac' (298900 f95d7bdecfceb327f9d201a1348397ed8a843843 by android-jack-team@google.com)).
GC overhead limit exceeded.
Try increasing heap size with java option '-Xmx'.
Warning: This may have produced partial or corrupted output.
[ 45% 16221/35670] Building with Jack:...colorpicker_intermediates/classes.jack
ninja: build stopped: subcommand failed.
build/core/ninja.mk:148: recipe for target 'ninja_wrapper' failed
make: *** [ninja_wrapper] Error 1
#### make failed to build some targets (01:26:54 (hh:mm:ss)) ####
这是因为 AOSP 容量变大了吗?
我在尝试构建 AOSP 6 或更低版本时从未遇到过这样的麻烦。
请帮忙。
【问题讨论】:
-
你读过这个帖子吗? stackoverflow.com/questions/35579646/…
-
它没有解决我的问题... :(
标签: android makefile android-source ram android-7.0-nougat