Hi,
This one app was compiling fine till a couple of days back.
Now, all of a sudden, it crashes during compile (both Debug/Release modes).
These are the Libraries used.
Crashes in both 10.6 and 10.7 versions of B4A.
No changes in code.
What am I doing wrong?
Regards.
This one app was compiling fine till a couple of days back.
Now, all of a sudden, it crashes during compile (both Debug/Release modes).
Compile Error:
B4A Version: 10.70
Parsing code. (0.23s)
Java Version: 11
Building folders structure. (0.27s)
Compiling code. (0.46s)
Compiling layouts code. (0.03s)
Organizing libraries. (0.00s)
(AndroidX SDK)
Compiling resources (0.93s)
Linking resources (1.12s)
Compiling debugger engine code. (6.42s)
Compiling generated Java code. (5.40s)
Convert byte code - optimized dex. Error
Uncaught translation error: java.lang.IllegalArgumentException: already added: Landroidx/annotation/AnimRes;
Uncaught translation error: java.lang.IllegalArgumentException: already added: Landroidx/annotation/AnimatorRes;
Uncaught translation error: java.lang.IllegalArgumentException: already added: Landroidx/annotation/AnyRes;
Uncaught translation error: java.lang.IllegalArgumentException: already added: Landroidx/annotation/ArrayRes;
Uncaught translation error: java.lang.IllegalArgumentException: already added: Landroidx/annotation/AttrRes;
Uncaught translation error: java.lang.IllegalArgumentException: already added: Landroidx/annotation/BinderThread;
Uncaught translation error: java.lang.IllegalArgumentException: already added: Landroidx/annotation/BoolRes;
Uncaught translation error: java.lang.IllegalArgumentException: already added: Landroidx/annotation/CallSuper;
Uncaught translation error: java.lang.IllegalArgumentException: already added: Landroidx/annotation/CheckResult;
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.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)
Caused by: java.lang.InterruptedException: Too many errors
at com.android.dx.command.dexer.Main.processAllFiles(Main.java:684)
... 4 more
These are the Libraries used.
Crashes in both 10.6 and 10.7 versions of B4A.
No changes in code.
What am I doing wrong?
Regards.