B4A Library SD: Dialogs

Star-Dust

Expert
Licensed User
Longtime User
Hello,

Bug corrected with version 0.07. You will be able to download a new version to post#1
Note: this version works with B4A 8.8 +

However, a new XUI version of the multi-platform library is available.
You can download it from here
 

iz0ndg

Active Member
Licensed User
Longtime User
The example with 0.07 library at compile time it gives me this error:
B4X:
B4A Versione: 9.01.2
Java Versione: 8
Analisi del Codice.    (0.01s)
Building folders structure.    (0.02s)
Compilazione del codice.    (0.04s)
Compilazione del codice di layouts    (0.00s)
Organizzazione Librerie.    (0.00s)
Generazione file R.    (0.00s)
Compilazione del codice Java prodotto.    (0.00s)
Conversione byte code - ottimizzazione dex.    Error
Uncaught translation error: java.lang.IllegalArgumentException: already added: Lb4a/example/designerscripts/LS_main;
1 error; aborting

Version 0.06 work fine
 

Star-Dust

Expert
Licensed User
Longtime User
This error means that the same class appears in two referenced jars.
Try if the example I attached works correctly

The new version corrects a parameter error in an IF STATEMENT, it does not change any more. The difference which is filled in with B4A 9.01 for Android SDK 26. But I updated the SDK to version 28 and this creates several changes

see here and here
 
Last edited:

iz0ndg

Active Member
Licensed User
Longtime User
This error means that the same class appears in two referenced jars.
Try if the example I attached works correctly

I don't know why (a B4A bug ???) but the error was due to the "main" name of the layout. Once the file is renamed, everything is working again!
 

Star-Dust

Expert
Licensed User
Longtime User
I don't know why (a B4A bug ???) but the error was due to the "main" name of the layout. Once the file is renamed, everything is working again!
There is a small error in the Jar file. Download it again and it won't give you this error anymore
 
Cookies are required to use this site. You must accept them to continue using the site. Learn more…