I want to implement the advertising ID but following the instructions "add a reference to FirebaseAdMob" (I check that library) then I'm not able to compile.
I have already increased the process timeout to 300 sec and MaxRamForDex to 2048 without success.
If I uncheck the FirebaseAdMob library everything seems to work fine
Where I'm wrong ?
I have already increased the process timeout to 300 sec and MaxRamForDex to 2048 without success.
If I uncheck the FirebaseAdMob library everything seems to work fine
Where I'm wrong ?
B4X:
B4A Version: 9.00
Parsing code. (0.55s)
Building folders structure. (0.44s)
Compiling code. (3.58s)
Compiling layouts code. (1.03s)
Organizing libraries. (0.39s)
Generating R file. (17.10s)
Compiling debugger engine code. (19.68s)
Compiling generated Java code. (34.20s)
Convert byte code - optimized dex. Error
UNEXPECTED TOP-LEVEL ERROR:
java.lang.OutOfMemoryError: GC overhead limit exceeded
at java.lang.AbstractStringBuilder.<init>(AbstractStringBuilder.java:68)
at java.lang.StringBuilder.<init>(StringBuilder.java:89)
at com.android.dx.rop.type.Prototype.withFirstParameter(Prototype.java:399)
at com.android.dx.rop.type.Prototype.intern(Prototype.java:208)
at com.android.dx.cf.iface.StdMethod.<init>(StdMethod.java:46)
at com.android.dx.cf.direct.MethodListParser.set(MethodListParser.java:81)
at com.android.dx.cf.direct.MemberListParser.parse(MemberListParser.java:217)
at com.android.dx.cf.direct.MemberListParser.parseIfNecessary(MemberListParser.java:108)
at com.android.dx.cf.direct.MethodListParser.getList(MethodListParser.java:54)
at com.android.dx.cf.direct.DirectClassFile.parse0(DirectClassFile.java:565)
at com.android.dx.cf.direct.DirectClassFile.parse(DirectClassFile.java:420)
at com.android.dx.cf.direct.DirectClassFile.parseToInterfacesIfNecessary(DirectClassFile.java:402)
at com.android.dx.cf.direct.DirectClassFile.getMagic(DirectClassFile.java:253)
at com.android.dx.command.dexer.Main.parseClass(Main.java:855)
at com.android.dx.command.dexer.Main.access$7(Main.java:850)
at com.android.dx.command.dexer.Main$ClassParserTask.call(Main.java:1826)
at com.android.dx.command.dexer.Main.processClass(Main.java:838)
at com.android.dx.command.dexer.Main.processFileBytes(Main.java:806)
at com.android.dx.command.dexer.Main.access$3(Main.java:777)
at com.android.dx.command.dexer.Main$FileBytesConsumer.processFileBytes(Main.java:1779)
at com.android.dx.cf.direct.ClassPathOpener.processArchive(ClassPathOpener.java:284)
at com.android.dx.cf.direct.ClassPathOpener.processOne(ClassPathOpener.java:166)
at com.android.dx.cf.direct.ClassPathOpener.process(ClassPathOpener.java:144)
at com.android.dx.command.dexer.Main.processOne(Main.java:760)
at com.android.dx.command.dexer.Main.processAllFiles(Main.java:646)
at com.android.dx.command.dexer.Main.runMonoDex(Main.java:315)
at com.android.dx.command.dexer.Main.runDx(Main.java:293)
at com.android.dx.command.dexer.Main.main(Main.java:249)
at com.android.dx.command.Main.main(Main.java:94)