Yingding Wang
12/21/2023, 2:14 PMcoreLibraryDesugaring configuration contains no dependencies. ... please add dependencies to coreLibraryDesugaring configuration
Any hints are really appreciated.Yingding Wang
12/21/2023, 2:55 PMcom.android.tools.build:gradle:8.1.4
seem to work again. Is there a know issue for AGP 8.2.0 in Hedgehog with core desugar lib?Maarten de Goede
12/22/2023, 12:02 PMYingding Wang
12/22/2023, 4:57 PMI fixed by configuring core library desugaring in all modules. Even the ones that didn’t use it themselves but merely depended on modules that do.Thanks, it is exactly also the root cause of my issue. I have a module depends on another module (api) which uses desugaring. I have to add
coreLibraryDesugaring
in the module dependencies, which was not an issue for gradle 8 and AGP 8.1.4
I also now added core library in all modules in the dependency hierarchy for gradle 8.2 and AGP 8.2.0.
It works now, thank you very much for this hint.