If I include ksoap2-extras in my Android Studio project dependencies, then the project won't build:
java.lang.RuntimeException: java.lang.RuntimeException: Duplicate class org.kobjects.util.Csv found in modules kobjects-j2me-0.0-SNAPSHOT-20040926-2.jar (net.sourceforge.kobjects:kobjects-j2me:0.0-SNAPSHOT-20040926-2) and me4se-2.1.4-SNAPSHOT-20040926.jar (net.sourceforge.me4se:me4se:2.1.4-SNAPSHOT-20040926)
I see that the POM for ksoap2-extras declares a dependency on ksoap2-base and ksoap2-midp. This is the problem.
ksoap2-base has a dependency on net.sourceforge.kobjects:kobjects-j2me:0.0-SNAPSHOT-20040926-2@jar which has an implementation of org.kobjects.util.Csv.
ksoap2-midp has a dependency on net.sourceforge.me4se, and that JAR also has an implementation of org.kobjects.util.Csv.
Seems like the version of me4se in the Maven repository should be dependent on modules kobjects-j2me-0.0-SNAPSHOT-20040926-2.jar and not include the org.kobjects.util.Csv class.
Is there any way to work around this?