Cannot resolve symbol HttpGet,HttpClient,DefaultHttpClient in Android Studio
<p>Hi I am new for android in my app I am integrating with services so when I  import all these jar files. It gives an error :  </p>

<blockquote>
  <p>Cannot resolve symbol HttpGet,HttpClient,DefaultHttpClient.</p>
</blockquote>

<pre><code>import org.apache.http.HttpEntity;
import org.apache.http.HttpResponse;
import org.apache.http.client.HttpClient;
import org.apache.http.client.methods.HttpGet;
import org.apache.http.impl.client.DefaultHttpClient;
</code></pre>

<h2>my build gradle:-</h2>

<pre><code>dependencies {

    compile fileTree(dir: 'libs', include: ['*.jar'])
    testCompile 'junit:junit:4.12'
    compile 'com.android.support:appcompat-v7:23.0.1'
    compile 'com.android.support:design:23.0.1'
    compile 'org.apache.httpcomponents:httpcore:4.4.1'
    compile 'org.apache.httpcomponents:httpclient:4.5'
}
</code></pre>