解决: 自行添加 httpclient.jar httpcore.jar jcip-annotations.jar
如果出现错误,在app的buil.gradle
android
{
}
里面添加代码
packagingOptions { exclude 'META-INF/LICENSE' exclude 'META-INF/DEPENDENCIES' exclude 'META-INF/NOTICE' } 例如android { compileSdkVersion 23 buildToolsVersion "23.0.0" defaultConfig { applicationId "xxxx" minSdkVersion 9 targetSdkVersion 23 versionCode 1 versionName "1.0" } buildTypes { release { minifyEnabled false proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' } } packagingOptions { exclude 'META-INF/LICENSE' exclude 'META-INF/DEPENDENCIES' exclude 'META-INF/NOTICE' } }
本人资源下载链接,无分
http://download.csdn.net/detail/yoyo_newbie/9267841