title: Apache HTTP connection with Android 6.0 (Marshmallow)
body: <p>Is there is any way to include the Apache library directly in Gradle to make it work with Android 6.0 ?</p>
  
  <p>I've tried to include the libraries like that:</p>
  
  <pre><code>compile 'org.apache.httpcomponents:httpcore:4.4.1'
  compile 'org.apache.httpcomponents:httpclient:4.5'
  </code></pre>
  
  <p>And Android Studio couldn't manage to find the following import:</p>
  
  <pre><code>import org.apache.http.auth.AuthenticationException;
  import org.apache.http.auth.Credentials;
  import org.apache.http.auth.MalformedChallengeException;
  import org.apache.http.auth.UsernamePasswordCredentials;
  import org.apache.http.impl.auth.DigestScheme;
  </code></pre>