Did somebody knows the reason for the following exception? It happens when using DJI and okhttp-Lib together in one project. Only to check the okhttp-lib in the librarie-manager by using Erel's Drone First example is enough to get this error:
B4X:
B4A Version: 10.2
Java Version: 8
Parse den Code. (0.01s)
Building folders structure. (0.17s)
Kompiliere den Code. (0.03s)
Kompiliere Layoutcode. (0.02s)
Organisiere Libraries. (0.00s)
(AndroidX SDK)
Generiere R Datei. (1.11s)
Kompiliere Debugger-Code (1.26s)
Kompiliere generierten Java Code. (6.30s)
Byte-Code konvertieren - optimiert dex. Error
Uncaught translation error: java.lang.IllegalArgumentException: already added: Lokio/package-info;
Uncaught translation error: java.lang.IllegalArgumentException: already added: Lokio/AsyncTimeout;
Uncaught translation error: java.lang.IllegalArgumentException: already added: Lokio/AsyncTimeout$1;
Uncaught translation error: java.lang.IllegalArgumentException: already added: Lokio/AsyncTimeout$2;
Uncaught translation error: java.lang.IllegalArgumentException: already added: Lokio/AsyncTimeout$Watchdog;
Uncaught translation error: java.lang.IllegalArgumentException: already added: Lokio/Base64;
Uncaught translation error: java.lang.IllegalArgumentException: already added: Lokio/Buffer;
Uncaught translation error: java.lang.IllegalArgumentException: already added: Lokio/Buffer$1;
Uncaught translation error: java.lang.IllegalArgumentException: already added: Lokio/Buffer$2;
UNEXPECTED TOP-LEVEL EXCEPTION:
java.lang.RuntimeException: Translation has been interrupted
at com.android.dx.command.dexer.Main.processAllFiles(Main.java:692)
at com.android.dx.command.dexer.Main.runMultiDex(Main.java:366)
at com.android.dx.command.dexer.Main.runDx(Main.java:291)
at com.android.dx.command.dexer.Main.main(Main.java:249)
at com.android.dx.command.Main.main(Main.java:94)
Caused by: java.lang.InterruptedException: Too many errors
at com.android.dx.command.dexer.Main.processAllFiles(Main.java:684)
... 4 more