diff --git a/Android.bp b/Android.bp index 8e075b6db90..03b4c36dd5b 100644 --- a/Android.bp +++ b/Android.bp @@ -81,6 +81,7 @@ android_app { "settings-platform-compat-config", ], static_libs: ["Settings-core"], + uses_libs: ["org.apache.http.legacy"], resource_dirs: [], optimize: { proguard_flags_files: ["proguard.flags"], diff --git a/tests/robotests/Android.bp b/tests/robotests/Android.bp index 6b491e51aa9..d6c56be9fa3 100644 --- a/tests/robotests/Android.bp +++ b/tests/robotests/Android.bp @@ -49,6 +49,7 @@ android_app { "telephony-common", "ims-common", ], + uses_libs: ["org.apache.http.legacy"], } //############################################################