5

With Android M Google has deprecated support for http library. To support existing applications use this library they have documented that using GRADLE build we can add support to http library by using following parameter.

android{
   useLibrary 'org.apache.http.legacy'
}   

How can we achieve the same in Eclipse environment using ant build ?

sundeep
  • 601
  • 1
  • 8
  • 21

1 Answers1

11

Just copy

your Android SDK folder/sdk/platforms/android-23/optional/org.apache.http.legacy.jar

file to your project's Libs folder

Gogs
  • 126
  • 1
  • 2