Hi everyone, I want to generate .so file for Andro...
# kotlin-native
v
Hi everyone, I want to generate .so file for Android, only androidNativeArm64 / 32, how to generate x86 / x86_64 for android? Can i use linux???
👌 1
d
Yes
v
Is it only arm???
d
🙂 1
v
Thank You , I will try soon.
v
@Dominaezzz
Copy code
Could not find method androidNativeX64() for arguments
I add androidNativeX64 to gradle, but got error.
May I update ?
Copy code
plugins {
    id 'org.jetbrains.kotlin.multiplatform' version '1.3.50'
}
Plugin [id: 'org.jetbrains.kotlin.multiplatform', version: '1.3.60-dev-1751'] was not found in any of the following sources:
m
For dev versions add something like this: https://github.com/msink/hello-libui/commit/6205ba430f2e0949880f642aedc5cc3660296eb0 This is in KotlinDsl, but GroovyDsl should be similar. Or see recommendation from any
kotlin-eap
blog, but replace eap to dev
v
Copy code
// Use dev Kotlin
buildscript {
    repositories {
        maven {
            url '<https://dl.bintray.com/kotlin/kotlin-dev>'
        }
    }
    dependencies {
        classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:1.3.60-dev-1751"
    }
}

plugins {
    id 'org.jetbrains.kotlin.multiplatform' version '1.3.50'
}
repositories {
    // Use dev Kotlin
    maven {
        url '<https://dl.bintray.com/kotlin/kotlin-dev>'
    }

    mavenCentral()
}
But I Got Error
Copy code
Task :compileKotlinAndroidNativeX64 FAILED
e: org.jetbrains.kotlin.konan.target.TargetSupportException: Unknown target: android_x64. Use -list_targets to see the list of available targets
and why is “kotlin-native-macos-1.3.50-dev-11052” downloaded to .konan??