title: Android Studio: apache.http.entity.mime does not exist
body: <p>I have tried to send a picture with <code>http-post</code>, like it´s described here: <a href="https://stackoverflow.com/questions/2935946/sending-images-using-http-post">Sending images using Http Post</a></p>
  
  <p>I have downloaded the libarys and put them into <code>"libs"</code>, but <strong>AndroidStudio</strong> says:</p>
  
  <pre><code>"Error: Gradle: error: package org.apache.http.entity.mime does not exist"
  </code></pre>
  
  <p>How can i solve this problem, any ideas?</p>
  
  <p>Thanks for your help.</p>
  
  <p>Edit:
  My build.gradle file contains:</p>
  
  <pre><code>    buildscript {
      repositories {
          mavenCentral()
      }
      dependencies {
          classpath 'com.android.tools.build:gradle:0.5.+'
      }
  }
  apply plugin: 'android'
  
  repositories {
      mavenCentral()
  }
  
  dependencies {
      compile 'com.android.support:support-v4:13.0.+'
  }
  
  android {
      compileSdkVersion 17
      buildToolsVersion "17.0.0"
  
      defaultConfig {
          minSdkVersion 8
          targetSdkVersion 17
      }
  }
  </code></pre>
  
  <p>I have downloaded the apache-mime4j-0.6.rar and httpmime-4.1.2.jar and put them into "libs". Then i clicked in AndroidStudio on File/ProjectStructure and i have add the two folders.</p>
  
  <p>Maybe its helpfull, if i post the error message:
  <a href="https://i.stack.imgur.com/OnSaZ.png" rel="nofollow noreferrer">http://i.stack.imgur.com/OnSaZ.png</a></p>