I have added this line to my build.gradle
compile group: \'org.apache.httpcomponents\' , name: \'httpclient-android\' , version: \'4.3.5\'
Try adding this to your dependencies:
compile 'org.apache.httpcomponents:httpclient:4.4-alpha1'
And generally if you want to use a library and you are searching for the Gradle dependency line you can use Gradle Please
EDIT: Check this one too.