NameValuePair Error "NameValuePair cannot be resolved to type"

I m new in android and im creating a project, for example this tutorial and its error display, for example, the following photo. Please help meenter image description here

+4
source share
1 answer

Your project is compileSdkVersionset to 23. The Apache HttpClient library has been removed from the Android SDK in API level 23 .

compileSdkVersion 21, . HttpClient Android 6.0 Android Studio. - HTTP API. "- " :

, HTTP, , (, Retrofit API -).

+9

Source: https://habr.com/ru/post/1605773/


All Articles