I have added 3rd party Apache POI JAR in my Flutter Android app to achieve some features. But after adding POI library when I try to run getting following error:
Execution failed for task ':app:mergeLibDexDebug'.
> Could not resolve all files for configuration ':app:debugRuntimeClasspath'.
> Failed to transform artifact 'poi-4.1.2.jar (project :poi-4.1.2)' to match attributes {artifactType=android-dex, dexing-enable-desugaring=true, dexing-is-debuggable=true, dexing-min-sdk=21, org.gradle.libraryelements=jar, org.gradle.usage=java-runtime}.
> Execution failed for DexingWithClasspathTransform: /Users/chandra/Developer/globaldata/android/poi-4.1.2/poi-4.1.2.jar.
> Error while dexing.