* What went wrong: Execution failed for task ‘:app...
# android
j
* What went wrong: Execution failed for task ‘apptransformClassesWithJarMergingFor<FlavorName>Debug’.
com.android.build.api.transform.TransformException: java.util.zip.ZipException: duplicate entry: org/xmlpull/v1/XmlPullParser.class
HELP
p
@jordan29.04.1197 Can you give us some more info? What command did you run? What is the source code for the task you were running?
j
./gradlew —no-daemon “appassemble<FlavorNaem>DebugAndroidTest” “appassemble<FlavorName>Debug”
p
Hmm, I’m not really a Gradle expert, so I’m not going to answer this, but the error message says there’s a duplicated file when it was zipping up the classes, so many is was related to that?
Again, I’m really not sure.
t
do a
./gradlew app:dependencies --configuration compile
then figure out what two libraries are pulling in
XmlPullParser
then use an exclusion strategy to fix it.
👍 1
j
thx, I fixed my problem.