Bug? [Resolved] Compile error B4A 11.5 Beta1 kotlin-stdlib

Johan Hormaza

Well-Known Member
Licensed User
I have a problem Compiling on B4A 11.5 Beta.
The error persists even applying the suggestion made in this thread: https://www.b4x.com/android/forum/threads/compile-error-b4a-11-5-beta1.139122/#post-880727

I have added this and still the problem
B4X:
#ExcludedLib: kotlin-stdlib-1.2.0


B4X:
Error in C:\Android\tools\..\extras\b4a_local\unpacked-kotlin-stdlib-1.5.10-63765236784000\dex_v1\kotlin-stdlib-1.5.10.zip:classes.dex:
Type kotlin.ArrayIntrinsicsKt is defined multiple times: C:\Android\tools\..\extras\b4a_local\unpacked-kotlin-stdlib-1.5.10-63765236784000\dex_v1\kotlin-stdlib-1.5.10.zip:classes.dex, C:\Android\tools\..\extras\b4a_local\unpacked-kotlin-stdlib-1.6.10-63782788718000\dex_v1\kotlin-stdlib-1.6.10.zip:classes.dex
Compilation failed

1647275834626.png


Libraries:
1647275893330.png
 

DonManfred

Expert
Licensed User
Longtime User
I have added this and still the problem
you are still using two different kotlin libs.
kotlin-stdlib-1.5.10 and kotlin-stdlib-1.6.10

check which library needs which of them...
 
Top