title: Android Studio Gradle Build : Import Eclipse Library Project : Issue
body: <p>I have a Project in Android Studio and I have added library project in it as per below mentioned link.</p>
  
  <p><a href="https://stackoverflow.com/questions/16588064/how-do-i-add-a-library-project-to-the-android-studio">How do I add a library project to Android Studio?</a></p>
  
  <p>but I am facing this issue :</p>
  
  <p><strong><em>Gradle 'MyApplication2' project refresh failed: No signature of method: org.gradle.api.internal.artifacts.dsl.dependencies.DefaultDependencyHandler.compile() is applicable for argument types: (org.gradle.api.internal.file.collections.DefaultConfigurableFileTree) values: [directory 'libs'] Possible solutions: module(java.lang.Object)</em></strong></p>
  
  <p>Can anyone please help/explain me Gradle build process. </p>
  
  <p>application build.gradle :</p>
  
  <pre><code>buildscript {
      repositories {
          mavenCentral()
      }
      dependencies {
          compile fileTree(dir: 'libs', include: ['*.jar'])
          classpath 'com.android.tools.build:gradle:0.8.+'
          compile project(":satellite-menu")
      }
  }
  
  allprojects {
      repositories {
          mavenCentral()
      }
  }
  </code></pre>
  
  <p>library build.gradle:</p>
  
  <pre><code>apply plugin: 'com.android.library'
  
  dependencies {
      compile 'com.android.support:support-v4:21.0.3'
  }
  
  android {
      compileSdkVersion 21
      buildToolsVersion "21.1.2"
  
      defaultConfig {
          minSdkVersion 14
          targetSdkVersion 21
      }
  
      sourceSets {
          main {
              manifest.srcFile 'AndroidManifest.xml'
              java.srcDirs = ['src']
              res.srcDirs = ['res']
          }
      }
  }
  </code></pre>
  
  <p>application settings.gradle </p>
  
  <pre><code>include ':app', ':satellite-menu'
  project(':satellite-menu').projectDir = new File('libs/satellite-menu')
  </code></pre>