Android Question Update B4A

Discussion in 'Android Questions' started by fishwolf, Mar 3, 2019.

  1. fishwolf

    fishwolf Active Member Licensed 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

    Code:
    Conversione byte code - ottimizzazione dex.    Error
    UNEXPECTED TOP-LEVEL ERROR:
    java.lang.OutOfMemoryError: GC overhead limit exceeded
    Code:
    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: Mar 3, 2019
  2. fishwolf

    fishwolf Active Member Licensed User

    resolved
     
  3. BillMeyer

    BillMeyer Active Member Licensed User

    Good Day,
    Please indicate how you resolved the problem - what did you do ?
     
  4. fishwolf

    fishwolf Active Member Licensed User

    i have set MaxRamForDex to 4096 into C:\Users\MYNAME\AppData\Roaming\Anywhere Software\Basic4android\b4xV5.ini
     
    BillMeyer likes this.
Loading...
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice