Don't Working The Library From GitHub In Android Studio
Don't working this library from GitHub in Android Studio My build.gradle(:project): apply plugin: 'com.android.application' android { compileSdkVersion 23 buildToolsVersi
Solution 1:
Do the following steps:
1.In your build.gradle(:project) Add the following before dependencies
repositories {
maven { url "https://jitpack.io" }
}
dependencies {
compile fileTree(dir: 'libs', include: ['*.jar'])
testCompile 'junit:junit:4.12'
compile 'com.android.support:appcompat-v7:23.0.1'
compile('com.afollestad.material-dialogs:core:0.8.4.2@aar') {
transitive = true
}
}
2.In your build.gradle(:app): replace
maven { url "https://jitpack.io" } with jcenter()
3.Sync project
Hope this helps.
Post a Comment for "Don't Working The Library From GitHub In Android Studio"