Thread
#compose
    aipok

    aipok

    2 years ago
    Does anyone have
    dev09
    working. For me with latest AS 4.1 canary 7 and
    dev09
    the preview not displayed and every time I’m trying to run the code on the device it gives me an error
    java.lang.NoSuchMethodError: No static method setContent(Landroidx/activity/ComponentActivity;Lkotlin/jvm/functions/Function0;)Landroidx/compose/Composition
    k
    aipok

    aipok

    2 years ago
    thanks
    g

    Guy Bieber

    2 years ago
    dependencies {
        def compose_version = "0.1.0-dev09"
    
        kotlinPlugin "androidx.compose:compose-compiler:$compose_version"
        implementation "androidx.compose:compose-runtime:$compose_version"
    }
    composeOptions {
        kotlinCompilerVersion "1.3.61-dev-withExperimentalGoogleExtensions-20200129"
        kotlinCompilerExtensionVersion "0.1.0-dev09"
    }