I have tried to send a picture with http-post, like it´s described here: Sending images using Http Post
I have downloaded the libarys and put them into "libs", but AndroidStudio says:
"Error: Gradle: error: package org.apache.http.entity.mime does not exist"
How can i solve this problem, any ideas?
Thanks for your help.
Edit: My build.gradle file contains:
    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
    }
}
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.
Maybe its helpfull, if i post the error message: https://i.stack.imgur.com/OnSaZ.png
 
    