Thread
#compose
    itnoles

    itnoles

    2 years ago
    is it just me that The Jetpack Compose IDE plugin is Incompatible of Android Studio 4.0 Canary 5?
    Yang

    Yang

    2 years ago
    What’s breaking for you?
    Have you updated compose to dev03?
    b

    bmo

    2 years ago
    I have the same issue
    Roar Gronmo

    Roar Gronmo

    2 years ago
    I saw that it was noted when you tried to run "Check for updates" from AS3.6B4... ...including no support for Flutter... I feel it's a while until AS4.0C will be shipping ready...
    Geert

    Geert

    2 years ago
    I'm not sure which version I was running, I downloaded AS 4.0 yesterday from the site and used a codelabs project with the correct dependencies. Build.gradle took a while. There was an Android Gradle Plugin Update, but then Gradle failed!
    https://codelabs.developers.google.com/codelabs/jetpack-compose-basics/#0 Wait. There is no project in there🤔 Just created a new one
    Roar Gronmo

    Roar Gronmo

    2 years ago
    1. Found that AS4.0C5 does not read AS4.0C4 recent file list. It uses An old one... unknow which or why. 2. You will be prompted (or check Help->Check for Updates) and Dart, EduTools and Flutter (will downgrade from 41.2.3 to 39.0.5!!) will try to be updated.
    Tried what AS4C5 suggested, ended in lock on startup. See https://issuetracker.google.com/issues/145684731 Seems to be the Flutter plugin to blaim according to the log file. Will reinstall soon...
    @Yang can't see dev03, only dev02... where is it ?
    Yang

    Yang

    2 years ago
    It’s released to google maven last night. Here’s my project with agp 4.0.0-alpha05 and compose dev03: https://github.com/ReactiveCircus/compose-lint-rules
    Roar Gronmo

    Roar Gronmo

    2 years ago
    Here are my repository settings:
    repositories {
        google()
        jcenter()
        maven {
            url = uri("<https://dl.bintray.com/kotlin/kotlin-eap>")
        }
    }
    Doesn't seem to have arrived at google yet... I see the repository you refer to is:
    repositories {        mavenCentral()        google()        gradlePluginPortal()        maven { url "<https://oss.sonatype.org/content/repositories/snapshots/>" }    }
    RG
    Yang

    Yang

    2 years ago
    If you search for “ui” from maven.google.com, you’ll see dev03.
    Roar Gronmo

    Roar Gronmo

    2 years ago
    OK, wonder why they don't show up with me..., I'll try again.
    OK syncing gradle, but got a bunch of unresolved references to ui related methods when using
    dev03
    Is there any new structure change on the references ? RG
    dev-03
    seems to miss:
    androidx.ui.animation.*
    androidx.ui.core.Clip
    androidx.ui.core.Text
    androidx.ui.foundation.* 
    androidx.ui.graphics.vector.DrawVector
    androidx.ui.res.*
    Any clue where they went ? RG
    Ahh: Found it... You need to include more dependencies than before... ... but there are some problems... Column and Rows is now missing
    crossAxisSize
    and
    mainAxisSize
    , have they changed or been abandoned... VerticalScroller is missing
    onScrollPositionChanged
    Clearly, here are significant changes, do anyone have any sort of information `? RG
    r

    Ryan Mentley

    2 years ago
    they've been removed in favor of
    ExpandedHeight
    and
    ExpandedWidth
    modifiers