Thread
#multiplatform
    Alexey Glushkov

    Alexey Glushkov

    1 year ago
    Hi, is there any way to understand what is the latest supported version of android gradle plugin for KMM? Now I use 7.0.0-alpha12 and it works with Compose well in
    Android Studio Arctic Fox | 2020.3.1 Canary 12
    . But when I try to switch to
    2020.3.1 Beta 2
    it requires gradle plugin 7.0.0-beta02 which, I suppose, isn’t supported by KMM. I think so as I get this error
    Please initialize at least one Kotlin target in 'shared (:shared)'
    Should I keep using
    2020.3.1 Canary 12
    or there is a way to make beta work?
    iamthevoid

    iamthevoid

    1 year ago
    this error usually happens when gradle files not builded properly
    try to build project from comandline
    ./gradlew assemble
    for example
    Alexey Glushkov

    Alexey Glushkov

    1 year ago
    one moment
    iamthevoid

    iamthevoid

    1 year ago
    most likely you'll see error cause
    real cause, i mean
    Alexey Glushkov

    Alexey Glushkov

    1 year ago
    hm, yes… you’re right
    > Failed to apply plugin 'com.android.internal.version-check'.
       > Minimum supported Gradle version is 7.0. Current version is 6.8.2. If using the gradle wrapper, try editing the distributionUrl in /Users/alexeyglushkov/androidProjects/WordTeacher/gradle/wrapper/gradle-wrapper.properties to gradle-7.0-all.zip
    iamthevoid

    iamthevoid

    1 year ago
    here you go
    Alexey Glushkov

    Alexey Glushkov

    1 year ago
    forgot to update file here..
    thanks