mnazmihambali Member Jul 30, 2022 #1 B4A Version: 11.80 BETA #1 Parsing code. (0.26s) Java Version: 11 Building folders structure. (0.67s) Compiling code. (0.56s) Compiling layouts code. (0.32s) Organizing libraries. (0.44s) (AndroidX SDK) Compiling resources (1.21s) Linking resources (1.43s) Compiling generated Java code. (11.50s) Finding libraries that need to be dexed. (0.01s) Dex code (13.61s) Dex merge Error Error in C:\Android\tools\..\extras\b4a_local\unpacked-kotlin-stdlib-1.6.10-63794239202770\dex_v1\kotlin-stdlib-1.6.10.zip:classes.dex: Type kotlin.ArrayIntrinsicsKt is defined multiple times: C:\Android\tools\..\extras\b4a_local\unpacked-kotlin-stdlib-1.6.10-63794239202770\dex_v1\kotlin-stdlib-1.6.10.zip:classes.dex, C:\Android\tools\..\extras\b4a_local\unpacked-kotlin-stdlib-1.3.0-63794238435063\dex_v1\kotlin-stdlib-1.3.0.zip:classes.dex Compilation failed
B4A Version: 11.80 BETA #1 Parsing code. (0.26s) Java Version: 11 Building folders structure. (0.67s) Compiling code. (0.56s) Compiling layouts code. (0.32s) Organizing libraries. (0.44s) (AndroidX SDK) Compiling resources (1.21s) Linking resources (1.43s) Compiling generated Java code. (11.50s) Finding libraries that need to be dexed. (0.01s) Dex code (13.61s) Dex merge Error Error in C:\Android\tools\..\extras\b4a_local\unpacked-kotlin-stdlib-1.6.10-63794239202770\dex_v1\kotlin-stdlib-1.6.10.zip:classes.dex: Type kotlin.ArrayIntrinsicsKt is defined multiple times: C:\Android\tools\..\extras\b4a_local\unpacked-kotlin-stdlib-1.6.10-63794239202770\dex_v1\kotlin-stdlib-1.6.10.zip:classes.dex, C:\Android\tools\..\extras\b4a_local\unpacked-kotlin-stdlib-1.3.0-63794238435063\dex_v1\kotlin-stdlib-1.3.0.zip:classes.dex Compilation failed
agraham Expert Licensed User Longtime User Jul 30, 2022 #2 1) You are using a Beta version of B4A. Upgrade to the latest version from the B4A product page. 2) Install a new SDK from the B4A product page, follow the instructions and DO NOT run SDK Manager. B4A – The simple way to develop native Android apps B4A includes all the features needed to quickly develop any type of Android app. B4A is used by tens of thousands of developers from all over the world, including companies such as NASA, HP, IBM and others. www.b4x.com Upvote 0
1) You are using a Beta version of B4A. Upgrade to the latest version from the B4A product page. 2) Install a new SDK from the B4A product page, follow the instructions and DO NOT run SDK Manager. B4A – The simple way to develop native Android apps B4A includes all the features needed to quickly develop any type of Android app. B4A is used by tens of thousands of developers from all over the world, including companies such as NASA, HP, IBM and others. www.b4x.com
MicroDrie Well-Known Member Licensed User Longtime User Jul 30, 2022 #3 Reading [Advanced] Using a custom view written with Kotlin the program must make a reference to the Kotlin jar. The error log shows 2 reference to two different version of the kotlin jar. Or your program have two references to the two different jars or you muse of a library which have a build-in reference to one of the two Kotlin jars. Be aware that both jars are not the current Kotlin versions. Upvote 0
Reading [Advanced] Using a custom view written with Kotlin the program must make a reference to the Kotlin jar. The error log shows 2 reference to two different version of the kotlin jar. Or your program have two references to the two different jars or you muse of a library which have a build-in reference to one of the two Kotlin jars. Be aware that both jars are not the current Kotlin versions.