artshelom2018-02-09 16:28:58
artshelom, 2018-02-09 16:28:58

After adding the library, I started writing the error "Error: Gradle: Execution failed for task", how to fix it ??

I added a library to the project, through gradle, I started writing the following error:

Error:Gradle: Execution failed for task ':app:transformDexArchiveWithExternalLibsDexMergerForDebug'.
> java.lang.RuntimeException: java.lang.RuntimeException: com.android.builder.dexing.DexArchiveMergerException: Unable to merge dex

How to fix??
Here is the library: compile 'com.mashape.unirest:unirest-java:1.3.27'
clean and rebuild don't help

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question