我以前是一名Java开发人员,试图学习Kotlin。到目前为止,还不错,但是在尝试将kotlin本机安装到JVM以外的平台上时:我收到以下信息。error: snap "kotlin-native" not available as specified (see 'snap info kotlin-native')
这和我的胡言乱
有没有相对简单的方法将Kotlin/Native动态库加载到Kotlin/JVM中?我的案例的一些细节:我有一些Kotlin/JVM接口,例如IGenerator fun generate(): ByteArray出于性能考虑,如果没有Kotlin/Native,我将编写一个C/C++代码,然后将其编译到共享库中,并使用例如SW
The consumer was configured to find a usage of 'kotlin-api' of a library, preferably optimized for non-jvm, as well as attribute 'org.jetbrains.kotlin.platform.type' with value 'native', attribute 'org.jetbrains.kotlin.<
' of a library, preferably optimized for non-jvm, as well as attribute 'org.jetbrains.kotlin.platform.type' of a library, as well as attribute 'org.jetbrains.kotlin.platform.type' with value 'native':' of a library, as well