Ok so even after full cache invalidate and everyth...
# compose
t
Ok so even after full cache invalidate and everything still
Copy code
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 ?
j
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
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.
c
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
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]
c
Likely in a couple weeks but things may slip
t
😞 Ok so I'll publish internally a fork with modified package to fit the gap to avoid any issues. Thanks.
🙏 1
c
@Chris Sinco [G] that link seems internal only?
🙏 1
c
Oops! updated!