Build failing after AGP update to 9.2.0

4 days ago 4
ARTICLE AD BOX

After I update project from AGP 9.1.1 to 9.2.0 latest version I start receiving following errors on build:

Multiple build operations failed. Could not resolve all files for configuration ':common:detachedConfiguration2'. Could not resolve all files for configuration ':freecell:detachedConfiguration2'. Could not resolve all files for configuration ':klondike:detachedConfiguration2'. Could not resolve all files for configuration ':spider:detachedConfiguration2'. Could not resolve all files for configuration ':common:detachedConfiguration2'. Failed to transform FakeDependency.jar to match attributes {artifactType=_internal-d8-desugar-methods, enable-core-library-desugaring=true, lint-min-sdk=24, org.gradle.libraryelements=jar, org.gradle.usage=java-runtime}. Execution failed for D8BackportedMethodsGenerator: /Users/local/.gradle/android/FakeDependency.jar. Compilation failed to complete Compilation failed to complete API database does not recognize the method java.time.Instant java.util.Date.toInstant()

I'm using coreLibraryDesuggaring.

Read Entire Article