I have an Android Studio project. The target- and compileSdkVersion for it - is 21. I want to change it to 25.
When I do this, some of the classes of the Android standard library become unavailable. For example org.apache.http.client.HttpClient.
here are some screenshots
Android classes before the rise of SDK version. You can see how many classes in org.apache.http.*
And Android classes after the rise of SDK version:
I also looked into the android reference, and saw that there is as little classes for 25 api, and (I was confused) for 21 api also. And I noticed that they are the same as I have after upgrade
Why in the case of 21 api, I have more classes? And how to fix it? Waiting for help. Thanks.