Join the social network of Tech Nerds, increase skill rank, get work, manage projects...
 
  • PLease solve transformClassesWithJarMergingForDebug error in Android studio

    • 0
    • 0
    • 0
    • 2
    • 0
    • 0
    • 0
    • 10.5k
    Answer it

    Hi,
    When I trying to build/run the build in Android studio getting below two errors randomly.

    Error:Execution failed for task ':iTSM:transformClassesWithJarMergingForDebug'.
    > com.android.build.api.transform.TransformException: java.util.zip.ZipException: duplicate entry: org/apache/http/cookie/CookieSpec.class
    Error:Execution failed for task ':iTSM:transformClassesWithJarMergingForDebug'.
    > com.android.build.api.transform.TransformException: java.util.zip.ZipException: duplicate entry: org/apache/http/conn/ManagedClientConnection.class

     

    I tried to clean up the project and restarted the project and build. still getting these two kind of errors in my Android studio. please help to resolve this issue.
    I'm using Android studio 1.5.1 in Windows 8.1

     

    Please find the attached file of my build.gradle file

 2 Answer(s)

Sign In
                           OR                           
                           OR                           
Register

Sign up using

                           OR                           
Forgot Password
Fill out the form below and instructions to reset your password will be emailed to you:
Reset Password
Fill out the form below and reset your password: