What's the minimum AS version required to use compose alpha09 ? I tried to use bleeding edge Arctic ...
k
What's the minimum AS version required to use compose alpha09 ? I tried to use bleeding edge Arctic Fox Canary 3 but found it bugy, fails to show suggestions sometimes so planning to downgrade.
g
There is no other version which supports Compose Only way is downgrade is use Android Studio 4.2-alpha (Betta doesn't include compose), but not sure that it works fine with alpha09
r
Use Arctic Foc Canary 2
👍 1
k
Okay
c
Canary 2 has a bug on api 30 devices where new installs won't actually install. Use c3
k
Okay, do you found any issues with c3 ?
r
I had an issue with kotlin multiplatform project on c3 Then I rolled back AS
k
@Colton Idle is there a problem with targeting API 30 or using a device with API 30?
c
I haven't had any issues. Just make sure to uninstall your app if you built it with c2.
k
Okay, I was not getting any suggestions and IDE become nomore than a text editor and I had to submit a fix immediately, you know I wrote a Fragment code without any suggestions, not even for imports 😳 hope this won't happen again.. giving c3 one more try
j
Please file a bug on AndroidStudio and link it here if you are running into an issue with C3.
👍 1
z
I am facing the same problem. 🤯
c
What problem @zoha131?
z
AS studio takes forever to analyze the code. And as a result I don’t get the auto completion.
👍 1
s
@zoha131 That might be a plugin related issue: https://issuetracker.google.com/issues/174730186
👍 1
z
Thanks for link. i have removed save-arg plugin. and it fixes the issue.
k
What? You removed plugin and all its usages !?
z
@Kshitij Patil I was planning to use navigation-compose and was slowly moving away from fragment and toolkit navigation library. So it was not much for me. 😬
k
That sounds convincing reason to me if I have to remove navargs & Directions from my codebase.
@zoha131 how do you pass arguments without using safeargs? I'm trying to use deeplinks and
requireArguments()
but it doesn't seem to work. Is there any particular lifecycle state where I should initialize them?
z
I don't. I am using the navigation-compose library. I have removed all the fragment from my project
a
thanks for the heads up… we’re using safeargs as well
k
@allan.conda So you're not using alpha09? Looks like I'm stuck unnecessarily, should I rollback to Compose alpha08? Are there any serious issues in alpha08?
a
yeah, not yet
k
@allan.conda Which AGP & AS Version are you using? I'll be rolling back to that with alpha08
a
4.2.0-alpha15
i’m stuck at Canary 8 as it’s the most stable
k
And alpha08? Looks like kotlin 1.4.21 makes you upgrade the AS & Plugin version
a
yes, and 1.4.20
there are always issues, but that safeargs issue is too much of a blocker
k
Exactly.. I realised I should have taken this conversation to DM 😅
@allan.conda I just came to know that we don't need to upgrade AGP to use the alpha09. My current versions are as follows and everything seems to work fine including AS autocompletion and stuff. Gradle distribution: 6.7 AGP: 4.2.0-alpha15 Kotlin: 1.4.21 Compose: 1.0.0-alpha09 Android Studio: 4.2 Canary 8 Thanks for suggesting a stable Android Studio version