J joop Active Member Licensed User Longtime User Dec 31, 2019 #1 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 Test_already_added.zip 8.3 KB · Views: 581
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
Erel B4X founder Staff member Licensed User Longtime User Dec 31, 2019 #2 It happens because of the source file that was included inside the jar. I've removed it: https://www.b4x.com/android/forum/threads/nanotime.50104/post-312851 Download the updated jar and clean the project (Ctrl + P). Upvote 0
It happens because of the source file that was included inside the jar. I've removed it: https://www.b4x.com/android/forum/threads/nanotime.50104/post-312851 Download the updated jar and clean the project (Ctrl + P).