Bug? Error compiling on 6.80 - SOLVED

JCO

Active Member
Licensed User
Longtime User
I just upgraded to version 6.80 and I am unable to compile a project created in 6.50.

It's the same that I had with the beta version (https://www.b4x.com/android/forum/threads/b4a-v6-8-beta-1-errors.76434/#post-484752)

The error:
B4X:
B4A version: 6.80
Parsing code.    (0.17s)
Compiling code.    (0.48s)
Compiling layouts code.    (0.02s)
Organizing libraries.    (0.00s)
Generating R file.    (0.21s)
Compiling debugger engine code.    (7.08s)
Compiling generated Java code.    (6.20s)
Convert byte code - optimized dex.  Error
UNEXPECTED TOP-LEVEL EXCEPTION:
java.lang.IllegalArgumentException: already added: Lokio/AsyncTimeout$1;
    at com.android.dx.dex.file.ClassDefsSection.add(ClassDefsSection.java:122)
    at com.android.dx.dex.file.DexFile.add(DexFile.java:161)
    at com.android.dx.command.dexer.Main.processClass(Main.java:615)
    at com.android.dx.command.dexer.Main.processFileBytes(Main.java:570)
    at com.android.dx.command.dexer.Main.access$2(Main.java:546)
    at com.android.dx.command.dexer.Main$2.processFileBytes(Main.java:514)
    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:537)
    at com.android.dx.command.dexer.Main.processAllFiles(Main.java:449)
    at com.android.dx.command.dexer.Main.runMonoDex(Main.java:236)
    at com.android.dx.command.dexer.Main.run(Main.java:206)
    at com.android.dx.command.dexer.Main.main(Main.java:179)
    at com.android.dx.command.Main.main(Main.java:103)
1 error; aborting
Picked up JAVA_TOOL_OPTIONS: -Djava.vendor="Sun Microsystems Inc. "

And the libraries used:
 

JCO

Active Member
Licensed User
Longtime User
Thanks Manfred. I didn't see that one (I really can't get a handle on the forum search engine)
Works fine now
 
Cookies are required to use this site. You must accept them to continue using the site. Learn more…