title: HttpClient won't import in Android Studio
body: <p>I have a simple class written in Android Studio:</p>
  
  <pre><code>package com.mysite.myapp;
  
  import org.apache.http.client.HttpClient;
  
  public class Whatever {
      public void headBangingAgainstTheWallExample () {
          HttpClient client = new DefaultHttpClient();
      }
  }
  </code></pre>
  
  <p>and from this I get the following compile time error:</p>
  
  <p><code>Cannot resolve symbol HttpClient</code></p>
  
  <p>Isn't <code>HttpClient</code> included in the Android Studio SDK? Even if it is not, I added it to my Gradle build like this:</p>
  
  <pre><code>dependencies {
      compile fileTree(dir: 'libs', include: ['*.jar'])
      compile 'com.android.support:appcompat-v7:23.0.0'
      compile 'org.apache.httpcomponents:httpclient:4.5'
  }
  </code></pre>
  
  <p>With or without the last compile line, the error is the same. What am I missing?</p>