Do you have 16GB of RAM/swap? Are you using a 64bit OS?
On Mon, Oct 8, 2012 at 3:26 AM, Hilda Chen <
hilda.c...@gmail.com> wrote:
> Hi:
> I built android source code and get the error as following:
> Exception in thread "main" java.lang.OutOfMemoryError: Java heap space
> at org.objectweb.asm.ByteVector.<init>(Unknown Source)
> at org.objectweb.asm.ClassWriter.toByteArray(Unknown Source)
> at
> com.android.tools.layoutlib.create.AsmGenerator.transform(AsmGenerator.java:333)
> at
> com.android.tools.layoutlib.create.AsmGenerator.generate(AsmGenerator.java:216)
> at com.android.tools.layoutlib.create.Main.main(Main.java:98)
> make: ***
> [out/host/common/obj/JAVA_LIBRARIES/temp_layoutlib_intermediates/javalib.jar]
> Error 1
>
> Is there someone know what can i do?
> I think the solution is that find the .mk file which is in the
> temp_layoutlib's father directory, But I didn't find it.
> Thanks!
> Hilda
> Hilda
>
> --
> You received this message because you are subscribed to the "Android
> Building" mailing list.
> To post to this group, send email to
android-...@googlegroups.com
> To unsubscribe from this group, send email to
>
android-buildi...@googlegroups.com
> For more options, visit this group at
>
http://groups.google.com/group/android-building?hl=en