Why Warning:Unable to find optional library: org.apache.http.legacy occurs?
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 由 翻译 强力驱动 问题: my gradle file: apply plugin : 'com.android.application' android { useLibrary 'org.apache.http.legacy' compileSdkVersion 23 buildToolsVersion "23.0.0" defaultConfig { applicationId "com.skripsi.irwanto.paud" minSdkVersion 15 targetSdkVersion 23 versionCode 1 versionName "1.0" } buildTypes { release { minifyEnabled false proguardFiles getDefaultProauardFile ( 'proguard-android.txt' ), 'proguard-rules.pro' } } } dependencies { compile fileTree ( include : [ '*.jar' ], dir : 'libs' ) testCompile 'junit:junit:4.12' compile 'com.android