-
Notifications
You must be signed in to change notification settings - Fork 29
Open
Description
I'm trying to use the library for an Android app. My test device is Kitkat.
Here's my gradle config:
compileSdkVersion 25
buildToolsVersion "25.0.3"
defaultConfig {
applicationId "my.app.package"
minSdkVersion 16
targetSdkVersion 25
versionCode 1
versionName "1.0.0-alpha"
}
Here's how I added the library:
compile 'com.clickntap:vimeo:1.10'
But I receive the following error on Vimeo.addVideo():
java.lang.NoClassDefFoundError: org.apache.http.impl.client.HttpClientBuilder
and warnings:
WARNING: Dependency org.apache.httpcomponents:httpclient:4.3.6 is ignored for debug as it may be conflicting with the internal version provided by Android.
WARNING: Dependency org.json:json:20140107 is ignored for debug as it may be conflicting with the internal version provided by Android.
So I searched a little and found that I could do something like this:
compile 'org.apache.httpcomponents:httpclient-android:4.3.5.1'
compile('com.clickntap:vimeo:1.10') {
exclude group: 'org.apache.httpcomponents'
exclude group: 'org.json'
}
But now I'm receiving this error still on Vimeo.addVideo() and can't find any solution:
java.lang.NoSuchMethodError: org.apache.http.entity.FileEntity.<init>
Please help :(
Thanks,
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels