Hi, I'm trying to use Sardine and Android Studio shows me the following error:
FATAL EXCEPTION: main
java.lang.VerifyError: com/github/sardine/util/SardineUtil
at com.github.sardine.impl.SardineImpl.list(SardineImpl.java:392)
This is my code:
Sardine sardine = SardineFactory.begin(USER, PASS);
try {
List<DavResource> resources = sardine.list(URL);
} catch (Exception e) {
Log.i(TAG, "ERROR: " + e.toString());
}
Dependencies:
compile 'com.android.support:appcompat-v7:22.2.1'
compile 'org.apache.httpcomponents:httpclient-android:4.3.5'
compile 'com.github.lookfirst:sardine:5.4'
Help me, thanks!