When I put a third-party jar into /lib folder, then build it with ant, the error shows. Also the error goes off if the library is removed.
[echo] Converting compiled files and external libraries into bin/classes.dex... [apply] [apply] UNEXPECTED TOP-LEVEL ERROR: [apply] java.lang.OutOfMemoryError: Java heap space [apply] at java.util.ArrayList.<init>(Unknown Source) [apply] at java.util.ArrayList.<init>(Unknown Source) [apply] at com.android.dx.ssa.back.FirstFitLocalCombiningAllocator$1.proc -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en