Android Studio使用org.apache.http报错

在app下的build.gradle中加入
android {
    ...
    useLibrary 'org.apache.http.legacy'
}


重新编译即可。

你可能感兴趣的:(Android Studio使用org.apache.http报错)