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

tk

08/27/2019, 1:22 PM
Hi. This is my first post. I would like to know how to create a new activity for trying Jetpack Compose. I have already downloaded ASOP in my computer. I tried creating a new
Compose Activity
via
File -> New -> Activity
on
ui-demos
folder. But some extra xml files and codes added in
build.gradle
, so that the project could not build at all.
l

Luca Nicoletti

08/27/2019, 1:23 PM
What do you want to achieve? Just create a new activity, without that, it looks broken: https://kotlinlang.slack.com/archives/CJLTWPH7S/p1566374339163500
t

tk

08/27/2019, 1:27 PM
I would like to do and encountered the same thing.
l

Luca Nicoletti

08/27/2019, 1:50 PM
Just create an activity the old way, there’s no need to create that component
1
t

tk

08/27/2019, 1:53 PM
I see. I'll try it. I appreciate your kindness.
l

Luca Nicoletti

08/27/2019, 1:56 PM
No worries, I think the plugin that generates those files is outdated and doesn’t work right now
👍 1