According to the log ,the build needs more memory. Maybe you can try this : 
http://stackoverflow.com/questions/34561925/gc-overhead-limit-exceeded-when-building-android-source

On Saturday, August 27, 2016 at 11:51:54 AM UTC+8, pranker wrote:
>
> Hi All,
>
> I am facing the below issues on running Android N on my Ubuntu 10.04 
> machine.Please advise. 
>
> build/core/binary.mk:668: warning: ignoring old commands for target 
> `out/host/linux-x86/gen/STATIC_LIBRARIES/libaapt2_intermediates/proto/frameworks/base/tools/aapt2/Format.pb.h'
> Starting build with ninja
> ninja: Entering directory `.'
> [  0% 4/31598] Ensure Jack server is installed and started
> Jack server already installed in "/root/.jack-server"
> Server is already running
> [  0% 11/31598] Building with Jack: 
> out/target/common/obj/JAVA_LIBRARIES/framework_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 [email protected] 
> <javascript:>)).
> GC overhead limit exceeded.
> Try increasing heap size with java option '-Xmx<size>'.
> Warning: This may have produced partial or corrupted output.
> [  0% 11/31598] build 
> out/target/common/obj/JAVA_LIBRARIES/sdk_v13_intermediates/classes.jack
> ninja: build stopped: subcommand failed.
> make: *** [ninja_wrapper] Error 1
>
>
> Thanks in Advance
>
> +91-9620784884
> Thanks & regards
> Pranjal Nayak
>

-- 
-- 
You received this message because you are subscribed to the "Android Building" 
mailing list.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-building?hl=en

--- 
You received this message because you are subscribed to the Google Groups 
"Android Building" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to