android - Error:Execution failed for task ':Application:transformClassesWithJarMergingForDebug' -
this question has answer here:
while running android application in android studio, got following error:
error: execution failed task':app:transformclasseswithjarmergingfordebug'.
com.android.build.api.transform.transformexception: java.util.zip.zipexception: duplicate entry: android/support/annotation/layoutres.class
where error come / how resolve issue?
you have added com.android.support:support-annotations:
2 times. surely, not directly, 1 of dependencies depends on it. run console (inside project folder): gradlew app:dependencies
, see depends on support annotations library.
then, exclude dependencies
Comments
Post a Comment