From dc262dd03b78e49939a9cd6b5f985e6fb1cc0052 Mon Sep 17 00:00:00 2001 From: Mohamed Seliem Date: Sat, 11 Nov 2017 10:25:55 -0600 Subject: [PATCH] Android 6.0 release removes support for the Apache HTTP client HttpClient was deprecated in Android 5.1 and is removed from the Android SDK in Android 6.0. There is a workaround to continue using HttpClient in Android 6.0 with Android Studio, --- app/build.gradle | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/app/build.gradle b/app/build.gradle index eb9678a..dcbcbc4 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -1,3 +1,4 @@ + apply plugin: 'com.android.application' android { @@ -31,3 +32,6 @@ dependencies { compile 'io.pristine:libjingle:9694@aar' compile project(':pnwebrtc') } +android { + useLibrary 'org.apache.http.legacy' +}