Colton Idle

    Colton Idle

    1 year ago
    I haven't been able to add compose to my existing project for some time now because of kotlin reflect issues (that using moshi brings up) and some people recommended that I wait for 1.4.20 of kotlin. Since the 1.4.20 eap came out today I tried it. The app would crash at runtime due to a kotlin reflect issue with this
    composeOptions {
        kotlinCompilerVersion '1.4.10'
        kotlinCompilerExtensionVersion '1.0.0-alpha03'
    }
    but now I updated to
    composeOptions {
        kotlinCompilerVersion '1.4.20-M1'
        kotlinCompilerExtensionVersion '1.0.0-alpha03'
    }
    and the app won't even compile. stack trace attached. Is this a known issue by chance?
    Adam Powell

    Adam Powell

    1 year ago
    cc @jim @Leland Richardson [G]
    jim

    jim

    1 year ago
    We have not tried upgrading Compose to 1.4.20 yet, it does not surprise me in the least that it doesn't work. You need to use compatible pairs of Compose and Kotlin versions.
    Colton Idle

    Colton Idle

    1 year ago
    @jim thanks for confirming. I only rushed to update because of my kotlin reflection issue and so I was hoping 1.4.20 would fix it 😃 I will wait until there is declared support for compose and kotlin 1.4.20