ariedov
07/08/2022, 4:44 AMcbor
implementations other then the kotlin.serialization
? I am looking for something implementing RFC 8949 https://www.rfc-editor.org/rfc/rfc8949.html
Native android and ios solutions would also work for me.Racka N
07/08/2022, 3:52 PMidea.log
this section seems to repeat itself for both Intellij IDEA 2021.3.1 and AS Bumblebee which shows some errors when syncing: https://pastebin.com/Q8qYJpgc. Is this related to the issue or is there something wrong with my config.
One of those projects can be found here: https://github.com/Thinkrchive/Thinkrchive-Multiplatform. The branch working-kotlin-js-support
is the one I'm currently working on and the one with all the issues. The 2nd project (larger one) is not open source unfortunately but has a very similar project structure and gradle configuration, but they both exhibit the same issues.kyle
07/08/2022, 7:07 PMmylibrary.framework/Headers/mylibrary.h:488:16: imported declaration 'MylibraryKotlinStringCompanion' could not be mapped to 'KotlinString.Companion'
Radoslaw Juszczyk
07/08/2022, 7:54 PM.
with pure kotlin?
I can see that .format
in kotlin stdlib uses java java.lang.String.format
so it depends on the current locale whether it is .
or ,
I want to be able to enforce it to use .
.Travis Reitter
07/08/2022, 10:00 PMModule 'android' uses an old-style KMM project configuration and cannot be updated automatically. Consider replacing the Kotlin Android plugin with Kotlin Multiplatform manually.
Jeff Lockhart
07/09/2022, 1:19 AMKey androidCommonTest is missing in the map.There's no stack trace or further error info, unfortunately. In fact, the top-level build log completes with
BUILD SUCCESSFUL
. So it's unclear how to troubleshoot this.
This is the build.gradle.kts change I made:
kotlin {
...
sourceSets {
...
val commonTest by getting {
...
}
val androidCommonTest by creating {
dependsOn(commonTest)
}
val androidTest by getting {
dependsOn(androidCommonTest)
...
}
val androidAndroidTest by getting {
dependsOn(androidCommonTest)
...
}
}
}
Ciox
07/09/2022, 12:36 PMBritto Thomas
07/09/2022, 2:03 PMJeff Lockhart
07/09/2022, 3:19 PMBritto Thomas
07/09/2022, 3:56 PMJavier
07/10/2022, 10:08 PMcorneil
07/10/2022, 10:14 PMSanjeev Kumar Sharma
07/11/2022, 6:57 AMakapanina
07/11/2022, 10:24 AMJonathan Ellis
07/11/2022, 8:47 PM> Task :compileCommonMainKotlinMetadata FAILED
e: java.lang.IllegalStateException: e: Could not find "C:\Users\Jonathan Ellis\Documents\essaie1-js\build\kotlinSourceSetMetadata\commonMain\com.soywiz.korlibs.kbox2d-kbox2d\com.soywiz.korlibs.kbox2d-kbox2d-commonMain.klib" in [C:\Users\Jonathan Ellis\AppData\Local\kotlin\daemon]
This looks very much like https://youtrack.jetbrains.com/issue/KTIJ-18321, except I get this with gradle commandline as well as in intellij.
I verified that the file it's looking for is in fact in the first directory mentioned. Is there a workaround to stop it from looking in AppData\Local\kotlin\daemon ?
ETA: I can use the library fine for the JVM-only components, it's when I add it to commonMain that it causes problems.eygraber
07/12/2022, 3:56 PMSlackbot
07/12/2022, 5:38 PMTrey
07/12/2022, 6:09 PMAlex Acosta
07/12/2022, 7:39 PMExpected class 'Platform' has no actual declaration in module [my module] for JVM
in the sample app, I assume this is an IDE issue since gradle commands are working fine. I just want to know which Android Studio version I should use for the following settings:
Kotin: 1.7.10
AGP: 7.2.1
Gradle distribution: 7.3.3
Gradle JDK: 11
Android Studio: Dolphin | 2021.3.1 Beta 5 (#AI-213.7172.25.2113.8774922)Trey
07/12/2022, 9:50 PMSean Proctor
07/13/2022, 12:49 AMDevendra Kumar Gaur
07/13/2022, 6:35 AMMarco Righini
07/13/2022, 8:41 AMGillian Buijs
07/13/2022, 10:22 AMRobert Jaros
07/13/2022, 11:43 AMStylianos Gakis
07/13/2022, 1:26 PMdarkmoon_uk
07/13/2022, 2:03 PMmultiplatform
plugin and even depended on the stdlib
in commonMain
- what else is there to convince the IDE it's configured?Javier
07/13/2022, 6:38 PMbuild/externals/*
and added, so I am getting multiple redeclarations, any way to fix it?eygraber
07/13/2022, 7:28 PMKotlinEnum
in swift? Why not a native enum?Trey
07/13/2022, 9:04 PMTrey
07/13/2022, 9:04 PMmbonnin
07/13/2022, 9:08 PMTrey
07/13/2022, 9:16 PMmbonnin
07/13/2022, 10:00 PMDISPATCH_QUEUE_SERIAL
is just null: https://opensource.apple.com/source/libdispatch/libdispatch-685/dispatch/queue.h.auto.htmldispatch_queue_create("myqueue", null)
dispatch_queue_create("myqueue", DISPATCH_QUEUE_SERIAL!!.reinterpret<dispatch_queue_attr_tVar>().pointed.value)
dispatch_queue_create("myqueue", DISPATCH_QUEUE_SERIAL?.reinterpret<dispatch_queue_attr_tVar>()?.pointed?.value)
Trey
07/14/2022, 2:28 PM