Android Question problem with Appcompat library

sadeq.hitex

Member
Licensed User
Hi there , i have a problem with Appcompat library V.4 !
Screenshot (325).png
Do you have any solution for it?

Java:
B4A Version: 10.2
Java Version: 8
Parsing code.    (0.01s)
Building folders structure.    (0.12s)
Compiling code.    (0.17s)
Compiling layouts code.    (0.02s)
Organizing libraries.    (0.00s)
    (AndroidX SDK)
Generating R file.    (1.98s)
Compiling generated Java code.    (5.27s)
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/ACButtonWrapper;
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;
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
 
Last edited:

DonManfred

Expert
Licensed User
Longtime User
1. Please post errrors as TEXT
2. Make sure to follow the instructions carefully. It will just work. https://www.b4x.com/b4a.html
3. Note that appcompat is a internal library now. Remove it from additional libs folder.
 
Upvote 1
Solution
Top