landoulsi
05/13/2019, 10:13 AMsvyatoslav.scherbina
05/13/2019, 10:19 AMbinaries
DSL specifying framework name like in
https://kotlinlang.org/docs/tutorials/native/mpp-ios-android.html#updating-gradle-scriptslandoulsi
05/13/2019, 10:45 AMkotlin.IllegalStateException: There is no event loop. Use runBlocking { ... } to start one.
at 0 SharedCode 0x000000010f02e4c5 kfun:kotlin.Exception.<init>(kotlin.String?)kotlin.Exception + 21 (/Users/teamcity/buildAgent/work/4d622a065c544371/runtime/src/main/kotlin/kotlin/Exceptions.kt:23:5)
at 1 SharedCode 0x000000010f02e485 kfun:kotlin.RuntimeException.<init>(kotlin.String?)kotlin.RuntimeException + 21 (/Users/teamcity/buildAgent/work/4d622a065c544371/runtime/src/main/kotlin/kotlin/Exceptions.kt:34:5)
at 2 SharedCode 0x000000010f03a0a5 kfun:kotlin.IllegalStateException.<init>(kotlin.String?)kotlin.IllegalStateException + 21 (/Users/teamcity/buildAgent/work/4d622a065c544371/runtime/src/main/kotlin/kotlin/Exceptions.kt:70:5)
at 3 SharedCode 0x000000010f058076 kfun:kotlinx.coroutines.takeEventLoop#internal + 294
...
landoulsi
05/13/2019, 10:47 AMcreateApplicationScreenMessage
to accept lambda:
fun createApplicationScreenMessage(lambda: (String) -> Unit) {
GlobalScope.launch {
lambda("Kotlin Rocks on ${platformName()}")
}
}
landoulsi
05/13/2019, 10:55 AM