Q:

Android: loopj is not importing

I am using android studio, when am trying to add dependency  
 compile 'com.loopj.android:android-async-http:1.4.9'

and sync the project am getting an error
Error:Failed to find: com.loopj.android:android-async-http:1.4.9
Open FileOpen in Project Structure dialog
when i open the project structure -> Dependency its showing under the library
 But the problem is that the library is not syncing.
when i try to clean the project am getting error like
Error:A problem occurred configuring root project 'Frendy'.

Could not resolve all dependencies for configuration ':_debugCompile'.
  Could not find com.loopj.android:android-async-http:1.4.9.
       Searched in the following locations:
           file:/C:/Users/Binil/AppData/Local/Android/sdk/extras/android/m2repository/com/loopj/android/android-async-http/1.4.9/android-async-http-1.4.9.pom
           file:/C:/Users/Binil/AppData/Local/Android/sdk/extras/android/m2repository/com/loopj/android/android-async-http/1.4.9/android-async-http-1.4.9.jar
           file:/C:/Users/Binil/AppData/Local/Android/sdk/extras/google/m2repository/com/loopj/android/android-async-http/1.4.9/android-async-http-1.4.9.pom
           file:/C:/Users/Binil/AppData/Local/Android/sdk/extras/google/m2repository/com/loopj/android/android-async-http/1.4.9/android-async-http-1.4.9.jar
       Required by:
           :Frendy:unspecified

Can any one please help me.

A:

Add Maven Repositories it should work, its described at  https://github.com/loopj/android-async-http in gradle section
this is example of my gradle :
apply plugin: 'com.android.application'

repositories {
     maven {
        url 'https://repo1.maven.org/maven2/'
  }
}

android {
    compileSdkVersion 23
    buildToolsVersion "23.0.1"

    defaultConfig {
        applicationId "com.mine.android"
        minSdkVersion 10
        targetSdkVersion 23
        versionCode 1
        versionName "1.0"
    }
    buildTypes {
        release {
            minifyEnabled false
            proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
        }
    } }

dependencies {
    compile fileTree(dir: 'libs', include: ['*.jar'])
    compile 'com.android.support:appcompat-v7:23.1.1'
    compile 'com.loopj.android:android-async-http:1.4.9'

}
}

