Android Question java.lang.IllegalArgumentException: already added:

joop

Active Member
Licensed User
Longtime User
Hi,I did an update win7 to win10 and fresh install B4A with these files

jdk 11.0.1.zip
sdk-tools-windows-4333796.zip
B4X resources.zip 4c17

I have some apps that use the NanoTime lib and it worked ok with win7 and B4a 9.50
but now with the update and fresh install i got these error messages.

--------------------------------------------------------------------------------
B4A Version: 9.50
Java Version: 11
Parsing code. (0.00s)
Building folders structure. (0.02s)
Compiling code. (0.06s)

ObfuscatorMap.txt file created in Objects folder.
Compiling layouts code. (0.00s)
Organizing libraries. (0.00s)
(AndroidX SDK)
Generating R file. (1.03s)
Compiling generated Java code. (1.57s)
Convert byte code - optimized dex. Error
Uncaught translation error: java.lang.IllegalArgumentException: already added: Lcom/stevel05/Utils;
1 error; aborting
-------------------------------------------------------------------------------

See the attached project
 

Attachments

  • Test_already_added.zip
    8.3 KB · Views: 214
Top