-1

How to fix package: org.apache.http doesn't exist.

halfer
  • 19,824
  • 17
  • 99
  • 186
Pankaj Chahakar
  • 25
  • 2
  • 11
  • what is the issue ...? – Khizar Hayat Mar 02 '16 at 12:16
  • 2
    Hi there, welcome to _Stack Overflow_. Please make an effort to research your technical problems before asking a question, and then when you ask, please write a clear, detailed and intelligible question, whilst refraining from various kinds of begging. – halfer Mar 02 '16 at 12:19
  • https://stackoverflow.com/questions/32949626/android-m-org-apache-http-entity-fileentity-deprecated – CommonsWare Mar 02 '16 at 12:22

1 Answers1

1

To continue using the Apache HTTP APIs, you must first declare the following compile-time dependency in your build.gradle file:

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

Look the Image :

enter image description here

Harshad
  • 1,344
  • 1
  • 10
  • 25