Italian errore di compilazione con admob

LordZenzo

Well-Known Member
Licensed User
Longtime User
sto mettendo admob sulla mia app
ma non so se funziona perche quando vado a compilare

B4X:
B4A version: 5.02 (1)
Parsing code.    (0.05s)
Compiling code.    (0.20s)
Compiling layouts code.    (0.01s)
Generating R file.    (1.23s)
Compiling generated Java code.    (4.70s)
Convert byte code - optimized dex.    Error
UNEXPECTED TOP-LEVEL ERROR:
java.lang.OutOfMemoryError: GC overhead limit exceeded
    at java.util.Arrays.copyOf(Arrays.java:2367)
    at java.lang.AbstractStringBuilder.expandCapacity(AbstractStringBuilder.java:130)
    at java.lang.AbstractStringBuilder.ensureCapacityInternal(AbstractStringBuilder.java:114)
    at java.lang.AbstractStringBuilder.append(AbstractStringBuilder.java:415)
    at java.lang.StringBuilder.append(StringBuilder.java:132)
    at com.android.dx.rop.type.Prototype.withFirstParameter(Prototype.java:370)
    at com.android.dx.rop.cst.CstBaseMethodRef.getPrototype(CstBaseMethodRef.java:81)
    at com.android.dx.cf.code.Simulator$SimVisitor.visitConstant(Simulator.java:653)
    at com.android.dx.cf.code.BytecodeArray.parseInstruction(BytecodeArray.java:764)
    at com.android.dx.cf.code.Simulator.simulate(Simulator.java:94)
    at com.android.dx.cf.code.Ropper.processBlock(Ropper.java:698)
    at com.android.dx.cf.code.Ropper.doit(Ropper.java:653)
    at com.android.dx.cf.code.Ropper.convert(Ropper.java:266)
    at com.android.dx.dex.cf.CfTranslator.processMethods(CfTranslator.java:282)
    at com.android.dx.dex.cf.CfTranslator.translate0(CfTranslator.java:139)
    at com.android.dx.dex.cf.CfTranslator.translate(CfTranslator.java:94)
    at com.android.dx.command.dexer.Main.processClass(Main.java:682)
    at com.android.dx.command.dexer.Main.processFileBytes(Main.java:634)
    at com.android.dx.command.dexer.Main.access$600(Main.java:78)
    at com.android.dx.command.dexer.Main$1.processFileBytes(Main.java:572)
    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:596)
    at com.android.dx.command.dexer.Main.processAllFiles(Main.java:498)
    at com.android.dx.command.dexer.Main.runMonoDex(Main.java:264)
    at com.android.dx.command.dexer.Main.run(Main.java:230)
    at com.android.dx.command.dexer.Main.main(Main.java:199)
    at com.android.dx.command.Main.main(Main.java:103)
 

LucaMs

Expert
Licensed User
Longtime User
Ne so davvero poco.
So solo che per risolvere il problema per l'app di Erosmax (che però contiene intestitial, non banner) ha dovuto modificare il file Manifest per usare una libreria recente.
Dagli un'occhiata, non so se sia lo stesso problema... prova a cercare, nel frattempo, faccio altrettanto e se trovo, aggiungo a questo post.


https://www.b4x.com/android/forum/t...per-ora-vado-avanti.43190/page-55#post-340700
 
Cookies are required to use this site. You must accept them to continue using the site. Learn more…