Is there a way to try compose on a windows pc?
# compose
f
Is there a way to try compose on a windows pc?
m
Looking at https://android.googlesource.com/platform/frameworks/support/+/refs/heads/androidx-master-dev/ui/studiow#165, it doesn't look like it is supported. You can always install a linux VM I guess ?
f
That's what I did at first, but it's so slow 😞
m
I can see compose on windows with https://github.com/Mishkun/try-compose
f
I can't run anything though, this repo is intended for linux as can see by the
./studiow
m
I am running it on windows and seeing the source code of compose. What I did was clone the repo, copy paste the zip that you can download from the readme. without using studiow.
f
but do you have the compose plugin?
Is completion working as expected?
m
I can see the Hello World example
f
On an android device?
m
yes
f
what folder did you open in android studio?
m
as a normal project, and the inside the root I paste the androidx_prebuilts folder downloaded from the readme of that repo. Just works for me after that When I launch it.
f
Where is the hello world example? Does it just appear in the root directory for you?
OK I found the example but I can't quite figure out how to launch it
I did it! thanks @matiaslev
and code completion is working as well!
m
great @Fudge glade to hear that.
d
Can we run Studio from the WSL? Maybe I can do it using Pengwin.
f
@dewildte I don't recommend trying to do it, WSL has no graphical interface. Just use the windows method we talked about here.