Search code examples
android-studioitext7

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

  • 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