'Unable to use Itext7 and other 3rd party library after updating to Android Studio Chipmunk

I just update my Android Studio to Chipmunk 2021.2.1 and my itext code dont work anymore. Im using itext7-core:7.2.2.

enter image description here

How do i fix this?



Solution 1:[1]

I had the same problem with another library.

In my case, I was managing the library locally and importing it into my project as a jar file.

Specifying the path to the jar file directly solved the problem. In my case, the problem was solved by adding the following notation to the app-level build.gradle.

// MyLibrary
implementation project(':MyLibrary')
implementation files("... /MyLibrary/library.jar") // added

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 YushiHarada