has anyone been able to use new layout inspector: ...
# compose
m
has anyone been able to use new layout inspector: https://developer.android.com/studio/preview/features?utm_source=android-studio-4-2&utm_medium=studio-assistant-preview#compose-layout-inspector it doesn’t work for my project or in jetnews sample app. It’s just blank
d
It does work well for my pretty simple app. Live updates work, component tree works. Layer spacing is disabled right now for some reason, but it did work an hour ago. upd a minute later: and it layer spacing works again too, don't know what was wrong upd: you need to tilt the layout a bit, then the Layer spacing slider enables
Seems Live updates don't work if you disable and enable it. It stays on the same screen. And Refresh button doesn't refresh anything after that
t
@Mikołaj Kąkol did you updated AS to canary 6?
m
yes
when I forgot to add “reflection” lib, I also got warning to add it
t
I do not use reflection in my project and it still works.
When live update is activated it is very slow.
m
it’s in docs that it is needed
t
which compose version do you use?
m
in my project 11, and in jetnews 12
t
And the android device which sdk version is running there?
m
one plus 6 with android 10
t
hmm for me it runs on a Fairfone 3+ also android 10
a
Ohh, so that’s how it looks when it works 😄
are you using fragments by any chance? @Mikołaj Kąkol or a mix of Compose and AndroidViews
m
nothing like that
for me even Jetnews doesn’t work, which is used on screen in release notes
t
Jetnews app is not updated to the new alpha06 gradle plugin. But when i do this it works for me.
m
are you on mac, or linux?
t
linux
m
im on mac 😕
maybe that is the factor
t
I don't think so. Because most Google developers working on mac