Mikołaj Kąkol

    Mikołaj Kąkol

    1 year ago
    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

    Denis

    1 year ago
    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
    Timo Drick

    Timo Drick

    1 year ago
    @Mikołaj Kąkol did you updated AS to canary 6?
    Mikołaj Kąkol

    Mikołaj Kąkol

    1 year ago
    yes
    when I forgot to add “reflection” lib, I also got warning to add it
    Timo Drick

    Timo Drick

    1 year ago
    I do not use reflection in my project and it still works.
    When live update is activated it is very slow.
    Mikołaj Kąkol

    Mikołaj Kąkol

    1 year ago
    it’s in docs that it is needed
    Timo Drick

    Timo Drick

    1 year ago
    which compose version do you use?
    Mikołaj Kąkol

    Mikołaj Kąkol

    1 year ago
    in my project 11, and in jetnews 12
    Timo Drick

    Timo Drick

    1 year ago
    And the android device which sdk version is running there?
    Mikołaj Kąkol

    Mikołaj Kąkol

    1 year ago
    one plus 6 with android 10
    Timo Drick

    Timo Drick

    1 year ago
    hmm for me it runs on a Fairfone 3+ also android 10
    a

    allan.conda

    1 year ago
    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
    Mikołaj Kąkol

    Mikołaj Kąkol

    1 year ago
    nothing like that
    for me even Jetnews doesn’t work, which is used on screen in release notes
    Timo Drick

    Timo Drick

    1 year ago
    Jetnews app is not updated to the new alpha06 gradle plugin. But when i do this it works for me.
    Mikołaj Kąkol

    Mikołaj Kąkol

    1 year ago
    are you on mac, or linux?
    Timo Drick

    Timo Drick

    1 year ago
    linux
    Mikołaj Kąkol

    Mikołaj Kąkol

    1 year ago
    im on mac 😕
    maybe that is the factor
    Timo Drick

    Timo Drick

    1 year ago
    I don't think so. Because most Google developers working on mac