I am getting following errors when I import project into eclipse. I have updated my sdk to M.
import org.apache.http.HttpEntity; import org.apache.http.HttpR
For eclipse -- Find library in your sdk and add it manually platforms/android-23/optional/org.apache.http.legacy.jar
platforms/android-23/optional/org.apache.http.legacy.jar
For android studio add this line in build.gradle
build.gradle
android { useLibrary 'org.apache.http.legacy' }