Enoch Taylor
Member
I get this error running the sliding drawer sample App from
Error from log
B4A Version: 11.20
Parsing code. (0.01s)
Java Version: 11
Building folders structure. (1.73s)
Compiling code. (0.44s)
Compiling layouts code. (0.29s)
Organizing libraries. (0.00s)
(AndroidX SDK)
Compiling resources (6.58s)
Linking resources (2.90s)
Compiling debugger engine code. (2.55s)
Compiling generated Java code. (4.50s)
Convert byte code - optimized dex. Error
Uncaught translation error: java.lang.IllegalArgumentException: already added: Lde/amberhome/objects/appcompat/ACActionBar;
Uncaught translation error: java.lang.IllegalArgumentException: already added: Lde/amberhome/objects/appcompat/ACActionMenuWrapper;
Uncaught translation error: java.lang.IllegalArgumentException: already added: Lde/amberhome/objects/appcompat/ACActionMenuWrapper$1;
Uncaught translation error: java.lang.IllegalArgumentException: already added: Lde/amberhome/objects/appcompat/ACActionModeWrapper;
Uncaught translation error: java.lang.IllegalArgumentException: already added: Lde/amberhome/objects/appcompat/ACActionModeWrapper$1;
Uncaught translation error: java.lang.IllegalArgumentException: already added: Lde/amberhome/objects/appcompat/ACCheckBoxWrapper;
Uncaught translation error: java.lang.IllegalArgumentException: already added: Lde/amberhome/objects/appcompat/ACEditTextWrapper;
Uncaught translation error: java.lang.IllegalArgumentException: already added: Lde/amberhome/objects/appcompat/ACFlatButtonWrapper;
Uncaught translation error: java.lang.IllegalArgumentException: already added: Lde/amberhome/objects/appcompat/ACMenuItemWrapper;
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
[B4X] B4XDrawer - sliding drawer
Edit: Cross platform example based on B4XPages https://www.b4x.com/android/forum/threads/b4x-b4xpages-b4xdrawer.120246/ A class that implements a sliding menu. Unlike the nice jfeinstein SlidingMenu library the drawer covers the activity instead of pushing it. It is similar to the various...
www.b4x.com
Error from log
B4A Version: 11.20
Parsing code. (0.01s)
Java Version: 11
Building folders structure. (1.73s)
Compiling code. (0.44s)
Compiling layouts code. (0.29s)
Organizing libraries. (0.00s)
(AndroidX SDK)
Compiling resources (6.58s)
Linking resources (2.90s)
Compiling debugger engine code. (2.55s)
Compiling generated Java code. (4.50s)
Convert byte code - optimized dex. Error
Uncaught translation error: java.lang.IllegalArgumentException: already added: Lde/amberhome/objects/appcompat/ACActionBar;
Uncaught translation error: java.lang.IllegalArgumentException: already added: Lde/amberhome/objects/appcompat/ACActionMenuWrapper;
Uncaught translation error: java.lang.IllegalArgumentException: already added: Lde/amberhome/objects/appcompat/ACActionMenuWrapper$1;
Uncaught translation error: java.lang.IllegalArgumentException: already added: Lde/amberhome/objects/appcompat/ACActionModeWrapper;
Uncaught translation error: java.lang.IllegalArgumentException: already added: Lde/amberhome/objects/appcompat/ACActionModeWrapper$1;
Uncaught translation error: java.lang.IllegalArgumentException: already added: Lde/amberhome/objects/appcompat/ACCheckBoxWrapper;
Uncaught translation error: java.lang.IllegalArgumentException: already added: Lde/amberhome/objects/appcompat/ACEditTextWrapper;
Uncaught translation error: java.lang.IllegalArgumentException: already added: Lde/amberhome/objects/appcompat/ACFlatButtonWrapper;
Uncaught translation error: java.lang.IllegalArgumentException: already added: Lde/amberhome/objects/appcompat/ACMenuItemWrapper;
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