Thread
#compose
    s

    Slackbot

    2 years ago
    This message was deleted.
    Roar Gronmo

    Roar Gronmo

    2 years ago
    Trick: Include all of them, I do...
    implementation 'androidx.ui:ui-android-text:0.1.0-dev03'
        implementation 'androidx.ui:ui-animation:0.1.0-dev03'
        implementation 'androidx.ui:ui-animation-core:0.1.0-dev03'
        implementation 'androidx.ui:ui-core:0.1.0-dev03'
        implementation 'androidx.ui:ui-foundation:0.1.0-dev03'
        implementation 'androidx.ui:ui-framework:0.1.0-dev03'
        implementation 'androidx.ui:ui-layout:0.1.0-dev03'
        implementation 'androidx.ui:ui-material:0.1.0-dev03'
        implementation 'androidx.ui:ui-platform:0.1.0-dev03'
        implementation 'androidx.ui:ui-test:0.1.0-dev03'
        implementation 'androidx.ui:ui-text:0.1.0-dev03'
        implementation 'androidx.ui:ui-tooling:0.1.0-dev03'
        implementation 'androidx.ui:ui-vector:0.1.0-dev03'
    RG
    Bryan Lee

    Bryan Lee

    2 years ago
    lol, i'll do just that. thanks
    Roar Gronmo

    Roar Gronmo

    2 years ago
    Don't miss the other settings, such as:
    buildFeatures {
        compose true
    }
    But if you use correct template, it should be included. RG
    And check if you are in dev02 or dev03, there are differences...
    Bryan Lee

    Bryan Lee

    2 years ago
    still doesn't work, guess it wasn't an issue with a missing dependency. Thanks for the help though!
    Although, when I try to import androidx.ui.androidview.adapters.setLayoutWidth, it says androidview is an unresolved reference so maybe it is a missing dependency issue after all?
    Josh Feinberg

    Josh Feinberg

    2 years ago
    i don't think the compose has a LinearLayout
    Bryan Lee

    Bryan Lee

    2 years ago
    It looks like they use it for when wrapping views such as WebViews into composable views