title: Fabric with Android Studio
body: <p>I'm trying to install <strong>Crashlytics</strong> trough Fabric into my <strong>Android Studio</strong> Project I'm running into the following error:</p>
  
  <pre><code>Gradle tasks [:App:generateDebugSources, :App:generateDebugAndroidTestSources, :Customer:generateDebugSources, :Customer:generateDebugAndroidTestSources, :PDFViewCtrlTools:generateDebugSources, :PDFViewCtrlTools:generateDebugAndroidTestSources]
  Crashlytics was applied to an android-library project. 
  Android-library support is currently an incubating feature. 
  Contact support@fabric.io with any issues.
  Error:A problem occurred configuring project ':Customer'.
  &gt; Could not resolve all dependencies for configuration ':Customer:_debugCompile'.
    &gt; Could not find com.crashlytics.sdk.android:crashlytics:2.2.1.
      Searched in the following locations:
         https://jcenter.bintray.com/com/crashlytics/sdk/android/crashlytics/2.2.1/crashlytics-2.2.1.pom
         https://jcenter.bintray.com/com/crashlytics/sdk/android/crashlytics/2.2.1/crashlytics-2.2.1.jar
         file:/Users/mes/Documents/Eclipse/sdk/extras/android/m2repository/com/crashlytics/sdk/android/crashlytics/2.2.1/crashlytics-2.2.1.pom
         file:/Users/mes/Documents/Eclipse/sdk/extras/android/m2repository/com/crashlytics/sdk/android/crashlytics/2.2.1/crashlytics-2.2.1.jar
         file:/Users/mes/Documents/Eclipse/sdk/extras/google/m2repository/com/crashlytics/sdk/android/crashlytics/2.2.1/crashlytics-2.2.1.pom
         file:/Users/mes/Documents/Eclipse/sdk/extras/google/m2repository/com/crashlytics/sdk/android/crashlytics/2.2.1/crashlytics-2.2.1.jar
         Required by:
         project:Customer:unspecified &gt; project:App:unspecified
      Information:BUILD FAILED
  </code></pre>
  
  <p>This is my <strong>build.gradle</strong>:</p>
  
  <pre><code>buildscript {
      repositories {
          maven { url 'https://maven.fabric.io/public' }
      }
  
      dependencies {
          classpath 'io.fabric.tools:gradle:1.+'
      }
  }
  
  apply plugin: 'com.android.library'
  apply plugin: 'io.fabric'
  
  
  repositories {
      mavenCentral()
      maven { url 'https://maven.fabric.io/public' }
  }
  
  dependencies {
      compile fileTree(dir: 'libs', include: '*.jar')
      compile 'com.google.android.gms:play-services:6.1.71'
      compile 'com.android.support:appcompat-v7:21.0.3'
      compile project(":PDFViewCtrlTools")
      compile('com.crashlytics.sdk.android:crashlytics:2.2.1') {
          transitive = true;
      }
  }
  
  android {
      compileSdkVersion 21
      buildToolsVersion "21.1.2"
  
  
      lintOptions {
          // If true, stop the gradle build if errors are found
          abortOnError false
          //ignore 'ValidFragment'
      }
  }
  </code></pre>
  
  <p>This is my <strong>AndroidManifest.xml</strong></p>
  
  <pre><code>        &lt;activity
          android:name="com.ecrome.tabook.MainActivity"
          android:label="@string/app_name"
          android:launchMode="singleTop" &gt;
          &lt;intent-filter&gt;
              &lt;action android:name="android.intent.action.MAIN" /&gt;
  
              &lt;category android:name="android.intent.category.LAUNCHER" /&gt;
          &lt;/intent-filter&gt;
          &lt;meta-data
              android:name="io.fabric.ApiKey"
              android:value="xxxxxx" /&gt;
          &lt;/activity&gt;
  </code></pre>
  
  <p>Any ideas why I'm getting the error and I'm not able to compile the app?</p>