if you're going to use #additionaljar, you have to download the
jar/aar from maven and put it in your add'l libraries folder. just saying
"#additionaljar" isn't enough. if the packages are in the sdk,
you wouldn't need "#additionaljar". if you're going to use it,
the compiler looks to the additional libraries folder for it.
(or wherever you keep your libraries). i would have tried
that before resorting to the sdk.
i think we need some guidance from our leader re:foldables.
when i looked at the sdk, there were a number of other related
files beside the ones you show. in addition, when i looked at
androidx.window:window:1.4.0.aar, it already contained
classes which appear in the sdk listing.
(sidebar: it is possible to extract the classes from packages
you add via the sdk and put them in the add'l libraries folder as
if you had downloaded them from maven, but it's the kind of thing
erel would have to say was ok in a given circumstance. i did see
a post by him concerning a specific case a little while back. i'm not
saying it applies in this case.)