https://kotlinlang.org logo
#compose
Title
# compose
i

itnoles

12/05/2019, 1:59 AM
is it just me that The Jetpack Compose IDE plugin is Incompatible of Android Studio 4.0 Canary 5?
y

Yang

12/05/2019, 3:52 AM
What’s breaking for you?
Have you updated compose to dev03?
b

bmo

12/05/2019, 6:29 AM
I have the same issue
r

Roar Gronmo

12/05/2019, 12:24 PM
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...
g

Geert

12/05/2019, 12:43 PM
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
r

Roar Gronmo

12/05/2019, 1:02 PM
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 ?
y

Yang

12/05/2019, 2:53 PM
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
r

Roar Gronmo

12/05/2019, 5:48 PM
Here are my repository settings:
Copy code
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:
Copy code
repositories {        mavenCentral()        google()        gradlePluginPortal()        maven { url "<https://oss.sonatype.org/content/repositories/snapshots/>" }    }
RG
y

Yang

12/05/2019, 9:34 PM
If you search for “ui” from maven.google.com, you’ll see dev03.
r

Roar Gronmo

12/05/2019, 9:37 PM
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:
Copy code
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
1
r

Ryan Mentley

12/05/2019, 11:53 PM
they've been removed in favor of
ExpandedHeight
and
ExpandedWidth
modifiers
4 Views