I am using Android Studio 1.0.0. I am trying to add dependencies of butterknife.
dependencies {
compile fileTree(dir: 'libs', include: ['*.jar'])
compile 'com.android.support:appcompat-v7:21.0.3'
compile 'com.jakewharton:butterknife:6.0.0'
compile 'com.google.android.gms:play-services:6.1.11'
compile 'com.android.support:recyclerview-v7:21.0.2'
}
But i am getting the following Gradle error:
Error:Failed to find: com.jakewharton:butterknife:6.0.0
I added, below three lines, it got fixed. Thanks everyone.
repositories {
mavenCentral()
}