When I try to build my extension project for android I get this error:
jar cf /tmp/job118723987979741392/build/tmpf6987bc9-6dd7-4c52-8123-93b6a9d22126rjava/R.jar -C /tmp/job118723987979741392/build/tmpf6987bc9-6dd7-4c52-8123-93b6a9d22126rjava/classes .
dx --dex --output /tmp/job118723987979741392/build/classes.dex ...many jars...
UNEXPECTED TOP-LEVEL ERROR:
java.lang.OutOfMemoryError: GC overhead limit exceeded
ext.manifest /extension-my/content/my Unknown Problem
I suspect that’s due to the fact that I use a lot of jar files. If I remove google play services jars (acquired from admob extension) I don’t get the error.
It might be that Java has insufficient memory for the building process, which can be increased with the javaMaxHeapSize
setting.
Can you please look into that?