I try to use unirest in my project at Android Studio.
They write in thier website:
Don't forget to also install the dependencies (org.json, httpclient 4.3.6, httpmime 4.3.6, httpasyncclient 4.0.2) in the classpath too.
I do not know which libs to add for this.
I try to add this:
compile 'org.apache.httpcomponents:httpasyncclient:4.1.1'
compile 'org.apache.httpcomponents:httpmime:4.5.1'
compile 'com.hynnet:httpclient:4.5.1'
And I get this exception:
Error:Execution failed for task ':app:transformClassesWithJarMergingForDebug'.>
com.android.build.transform.api.TransformException: java.util.zip.ZipException: duplicate entry: com/google/gson/annotations/Expose.class
Any help?