https://kotlinlang.org logo
m

mattinger

12/03/2020, 2:02 PM
Anyone else having issues with compose in 4.2 beta 1? When i try it says it’s a preview feature and can’t be enabled.
a

Alejandro Rios

12/03/2020, 2:03 PM
If I'm not wrong
Preview
was moved to Canary version
m

mattinger

12/03/2020, 2:06 PM
That’s pretty much what i was seeing. I was under the impression that 4.2 release was the target for full release of compose. So why would they cripple it in the beta? Also, i’m having issues finding alpha08 of compose as well.
Copy code
> Could not find androidx.ui:ui-tooling:1.0.0-alpha08.
a

André Kindwall

12/03/2020, 2:07 PM
Change to
Copy code
androidx.compose.ui:ui-tooling:1.0.0-alpha08
☝🏻 1
m

mattinger

12/03/2020, 2:08 PM
thanks @André Kindwall I should’ve noticed that.
Still not sure why preview support is disabled in 4.2 beta though.
m

Mark Murphy

12/03/2020, 2:09 PM
FWIW, I too was under the impression that AS 4.2 would be the last bit of AS "version chasing" that we had to do for Compose. However, IIRC, when this last came up, the Compose team pointed out that AS decisions are not made by the Compose team -- the Tools team will do what it wishes. Apparently, the Tools team wasn't ready to support Compose previews, perhaps given the early-alpha nature of Compose. blob shrug
2 Views