Android Question Update B4A

fishwolf

Well-Known Member
Licensed User
Longtime User
I'm updating b4a enviroment from 5.40 to 8.80 version

I have removed all version java and install the last sdk
I have removed old android sdk and install the last version
I have install all with sdk manager
I have copy the annotation library https://www.b4x.com/android/forum/t...-value-auto-value-annotations.103181/#content

i have these errors when compile my project

B4X:
Conversione byte code - ottimizzazione dex.    Error
UNEXPECTED TOP-LEVEL ERROR:
java.lang.OutOfMemoryError: GC overhead limit exceeded

B4X:
Conversione byte code - ottimizzazione dex.    Error
UNEXPECTED TOP-LEVEL ERROR:
java.lang.OutOfMemoryError: GC overhead limit exceeded
    at java.util.Arrays.copyOf(Arrays.java:3236)
    at java.io.ByteArrayOutputStream.toByteArray(ByteArrayOutputStream.java:191)
    at com.android.dx.cf.direct.ClassPathOpener.processArchive(ClassPathOpener.java:279)
    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:756)
    at com.android.dx.command.dexer.Main.processAllFiles(Main.java:650)
    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)

empty project is compiled with success

i have set MaxRamForDex to 4096 with success
 
Last edited:
Top