I have encountered an error that I can't resolve with the NET lib.
The below set of errors occur when I merely checkbox the NET lib (v1.20)
I have taken ALL code that tries to use the NET lib completely out of the application (which runs) and I still get the errors. If I remove the NET lib checkbox, the application compiles and runs.
Any ideas what these errors might mean. (BTW, I've looked at the unfiltered logs and there are NO messages.)
New information: I have installed the new v1.30 NET lib, same results. Also, I am using the new 2.50 compiler.
The below set of errors occur when I merely checkbox the NET lib (v1.20)
I have taken ALL code that tries to use the NET lib completely out of the application (which runs) and I still get the errors. If I remove the NET lib checkbox, the application compiles and runs.
Any ideas what these errors might mean. (BTW, I've looked at the unfiltered logs and there are NO messages.)
New information: I have installed the new v1.30 NET lib, same results. Also, I am using the new 2.50 compiler.
B4X:
Parsing code. 0.35
Compiling code. 0.52
Compiling layouts code. 0.05
Generating R file. 1.59
Compiling generated Java code. 5.08
Convert byte code - optimized dex. Error
UNEXPECTED TOP-LEVEL EXCEPTION:
java.lang.IllegalArgumentException: already added: Lorg/apache/commons/net/DatagramSocketClient;
at com.android.dx.dex.file.ClassDefsSection.add(ClassDefsSection.java:123)
at com.android.dx.dex.file.DexFile.add(DexFile.java:163)
at com.android.dx.command.dexer.Main.processClass(Main.java:486)
at com.android.dx.command.dexer.Main.processFileBytes(Main.java:455)
at com.android.dx.command.dexer.Main.access$400(Main.java:67)
at com.android.dx.command.dexer.Main$1.processFileBytes(Main.java:394)
at com.android.dx.cf.direct.ClassPathOpener.processArchive(ClassPathOpener.java:245)
at com.android.dx.cf.direct.ClassPathOpener.processOne(ClassPathOpener.java:131)
at com.android.dx.cf.direct.ClassPathOpener.process(ClassPathOpener.java:109)
at com.android.dx.command.dexer.Main.processOne(Main.java:418)
at com.android.dx.command.dexer.Main.processAllFiles(Main.java:329)
at com.android.dx.command.dexer.Main.run(Main.java:206)
at com.android.dx.command.dexer.Main.main(Main.java:174)
at com.android.dx.command.Main.main(Main.java:91)
1 error; aborting
Optimized dexer failed. Switching to Standard dexer.
Last edited: