t

    Tolriq

    1 year ago
    Ok so even after full cache invalidate and everything still
    The following classes could not be found:
    - androidx.compose.ui.tooling.preview.ComposeViewAdapter
    So the IDE (AGP 7.0.0 B4) still reference the previous package name. Will this require a new AGP / IDE build ?
    jim

    jim

    1 year ago
    I don't think any new version of IDE nor AGP is required, but you do need to have the right maven artifact coordinates. I think
    ui-tooling
    and
    ui-tooling-preview
    t

    Tolriq

    1 year ago
    I do but that one was migrated to the ui-tooling package name but something still reference it.
    And from the PR doc there's no need to use the new preview unless we want to actually remove the preview stuff for release size.
    Chris Sinco [G]

    Chris Sinco [G]

    1 year ago
    This is a known issue now with the tracking bug here: https://issuetracker.google.com/192570889 (thanks @Tolriq for filing!)
    There’s also a workaround which is setting
    ui-tooling
    to
    beta09
    t

    Tolriq

    1 year ago
    The workaround is quite limited as if any external library or module use ui-tooling or ui-tooling-preview is updated to RC1 this will lead to dex merge errors during building and will require excludes everywhere. Seeing only AS AF B5 was out today what is the ETA for RC1 @Chris Sinco [G]
    Chris Sinco [G]

    Chris Sinco [G]

    1 year ago
    Likely in a couple weeks but things may slip
    t

    Tolriq

    1 year ago
    😞 Ok so I'll publish internally a fork with modified package to fit the gap to avoid any issues. Thanks.
    Colton Idle

    Colton Idle

    1 year ago
    @Chris Sinco [G] that link seems internal only?
    Chris Sinco [G]

    Chris Sinco [G]

    1 year ago
    Oops! updated!