Denis Shurygin
10/30/2018, 3:17 PMjaguililla
10/30/2018, 6:51 PMjaguililla
10/30/2018, 7:05 PMtapchicoma
10/30/2018, 8:00 PMjava.lang.NoSuchMethodError: org.jetbrains.kotlin.konan.target.HostManager.<init>(Lorg/jetbrains/kotlin/konan/target/SubTargetProvider;ILkotlin/jvm/internal/DefaultConstructorMarker;)V
at org.jetbrains.kotlin.gradle.plugin.mpp.KotlinMultiplatformPlugin.setupDefaultPresets(KotlinMultiplatformPlugin.kt:149)
at org.jetbrains.kotlin.gradle.plugin.mpp.KotlinMultiplatformPlugin.apply(KotlinMultiplatformPlugin.kt:81)
at org.jetbrains.kotlin.gradle.plugin.mpp.KotlinMultiplatformPlugin.apply(KotlinMultiplatformPlugin.kt:38)
at org.jetbrains.kotlin.gradle.plugin.KotlinBasePluginWrapper.apply(KotlinPluginWrapper.kt:77)
at org.jetbrains.kotlin.gradle.plugin.KotlinBasePluginWrapper.apply(KotlinPluginWrapper.kt:39)
at org.gradle.api.internal.plugins.ImperativeOnlyPluginTarget.applyImperative(ImperativeOnlyPluginTarget.java:42)
Does somebody know how to fix such exception, when using new MPP plugin and adding native "linuxX64" target on linux host?jkbbwr
10/30/2018, 10:18 PMgroostav
10/30/2018, 10:38 PMdllexport
and extern "C"
and Native.loadLibrary
businessorangy
10/30/2018, 10:40 PMNikky
10/30/2018, 11:17 PMgaetan
10/31/2018, 9:16 AM> Task :app:compileKotlinIos
xcrun: error: SDK "iphonesimulator" cannot be located
xcrun: error: SDK "iphonesimulator" cannot be located
xcrun: error: unable to lookup item 'Path' in SDK 'iphonesimulator'
exception: org.jetbrains.kotlin.konan.KonanExternalToolFailure: The /usr/bin/xcrun command returned non-zero exit code: 1.
at org.jetbrains.kotlin.konan.exec.Command.handleExitCode(ExecuteCommand.kt:100)
at org.jetbrains.kotlin.konan.exec.Command.getOutputLines(ExecuteCommand.kt:91)
XCode is installed and I can run the simulators from there. I don’t understand why the paths are not correct. Any idea?Dominaezzz
10/31/2018, 1:27 PMMPPTools.defaultHostPreset
defined? (used in the `build.gradle`s of the samples).se1by
10/31/2018, 3:35 PM1.toByte()
does autocomplete, 1.toUInt()
does not.
2) My source directory (src/main/kotlin) is not marked as a source directory, which is a bit inconvenient. Already tried adding it explicitly by adding main.kotlin.srcDirs += 'src/main/kotlin/'
to sourceSets
3) IntelliJ seems to think my package declaration should be package kotlin.normal.package.name
instead of package normal.package.name
Any ideas?Jurriaan Mous
10/31/2018, 5:01 PMHamza
11/01/2018, 4:58 AMagrosner
11/01/2018, 1:03 PMEllen Shapiro
11/01/2018, 1:36 PMktor
in an MPP iOS/Android project. As far as I can tell, you have to be able to use Coroutines to do this.
I can get coroutines importing on gradle 4.10.2 to Android and the core thing, but they don’t work on iOS. I’m seeing some stuff about needing 4.7, but that’s not working either.
Anyone got suggestions for how/if I can actually get this to work?bootstraponline
11/01/2018, 1:39 PMEllen Shapiro
11/01/2018, 3:22 PMolonho
11/02/2018, 3:03 PMbudioktaviyan
11/02/2018, 4:46 PMMatej Kormuth
11/03/2018, 3:08 PM"".cstr
I only get to see function header with no body (only /* compiled code */
comment).Quang Luong
11/03/2018, 3:14 PMelifarley
11/03/2018, 4:11 PMHunter Breathat
11/03/2018, 4:40 PMHunter Breathat
11/04/2018, 3:51 PMnestserau
11/05/2018, 9:47 AMmersan
11/05/2018, 2:08 PMHunter Breathat
11/05/2018, 3:08 PMSangeet
11/05/2018, 5:02 PMdispatch_async_f(...)
czuckie
11/05/2018, 6:42 PMkatokay
11/05/2018, 8:13 PMkatokay
11/05/2018, 8:13 PMlouiscad
11/05/2018, 8:26 PMrusshwolf
11/05/2018, 8:29 PMkatokay
11/05/2018, 8:32 PMrusshwolf
11/05/2018, 8:56 PMuli
11/05/2018, 9:23 PM