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

Vsevolod Ganin

02/12/2021, 12:24 PM
Any idea why Android Studio uses
:app:assemble
to build when running
@Preview @Composable
and how to avoid it? In most cases I need only quick debug build. Regularly building release variant may take pretty long due to R8 and all
I mean running with this little thing
j

Javier

02/12/2021, 12:39 PM
Are you sure it is assembling all build variants instead of only the debug one? I think you should file a bug if you are sure about that
v

Vsevolod Ganin

02/12/2021, 12:41 PM
Yep, sure of that. Actually it was from the very beginning (at least when I first started to use AS Canary + Compose), so I thought maybe it’s a feature 🙂
Ok, will file an issue
j

Javier

02/12/2021, 12:42 PM
I think it has no sense to build the release which is pretty slow to something is completely though to be used in debug
1
v

Vsevolod Ganin

02/12/2021, 12:53 PM