I added ksoap2-android-assembly-3.6.4-jar-with-dependencies.jar file to app/lib, in my project.
Next, in Android Studio, right clicked in the file and clicked "Add as library".
Now, I can't run the app because of the following error:
Duplicate class okio.AsyncTimeout found in modules jetified-ksoap2-android-assembly-3.6.4-jar-with-dependencies (ksoap2-android-assembly-3.6.4-jar-with-dependencies.jar) and jetified-okio-1.6.0 (com.squareup.okio:okio:1.6.0)
Gradle project file where the lib was added:
dependencies {
....
implementation files('libs/ksoap2-android-assembly-3.6.4-jar-with-dependencies.jar')
}
I'm aware of some posts with similar error, and also Google documentation about it, but I'm not being able to relate that info to my problem.
Can you please help?
If you need me to provide more info in order for you to help, please ask.
Thank you in advance.