Dependency issue
Getting Error:(26, 13) Failed to resolve: com.github.AleBarreto:SimpleLoginLibrary:-SNAPSHOT even though I added
allprojects {
repositories {
jcenter()
maven { url "https://jitpack.io" }
}
}
in build.gradle
This error, It is a Mismatch. Check your Top build.gradle: my lib:
dependencies {
classpath 'com.android.tools.build:gradle:1.5.0'
}
see your and send me.
does it work with this dependencies { classpath 'com.android.tools.build:gradle:2.0.0-beta6' } cause i m getting the same error with the above mentionned dependency and all the google.gms dependency
Same problem here. With your example project, in Android Studio 1.5, I get:
Error:A problem occurred configuring project ':app'.
Could not resolve all dependencies for configuration ':app:_debugCompile'. Could not find com.github.AleBarreto:SimpleLoginLibrary:-SNAPSHOT. Searched in the following locations: https://jcenter.bintray.com/com/github/AleBarreto/SimpleLoginLibrary/-SNAPSHOT/maven-metadata.xml https://jcenter.bintray.com/com/github/AleBarreto/SimpleLoginLibrary/-SNAPSHOT/SimpleLoginLibrary--SNAPSHOT.pom https://jcenter.bintray.com/com/github/AleBarreto/SimpleLoginLibrary/-SNAPSHOT/SimpleLoginLibrary--SNAPSHOT.jar https://jitpack.io/com/github/AleBarreto/SimpleLoginLibrary/-SNAPSHOT/maven-metadata.xml https://jitpack.io/com/github/AleBarreto/SimpleLoginLibrary/-SNAPSHOT/SimpleLoginLibrary--b21f6ee9a7-1.pom https://jitpack.io/com/github/AleBarreto/SimpleLoginLibrary/-SNAPSHOT/SimpleLoginLibrary--b21f6ee9a7-1.jar file:/G:/ANDROID/sdk/extras/android/m2repository/com/github/AleBarreto/SimpleLoginLibrary/-SNAPSHOT/maven-metadata.xml file:/G:/ANDROID/sdk/extras/android/m2repository/com/github/AleBarreto/SimpleLoginLibrary/-SNAPSHOT/SimpleLoginLibrary--SNAPSHOT.pom file:/G:/ANDROID/sdk/extras/android/m2repository/com/github/AleBarreto/SimpleLoginLibrary/-SNAPSHOT/SimpleLoginLibrary--SNAPSHOT.jar file:/G:/ANDROID/sdk/extras/google/m2repository/com/github/AleBarreto/SimpleLoginLibrary/-SNAPSHOT/maven-metadata.xml file:/G:/ANDROID/sdk/extras/google/m2repository/com/github/AleBarreto/SimpleLoginLibrary/-SNAPSHOT/SimpleLoginLibrary--SNAPSHOT.pom file:/G:/ANDROID/sdk/extras/google/m2repository/com/github/AleBarreto/SimpleLoginLibrary/-SNAPSHOT/SimpleLoginLibrary--SNAPSHOT.jar Required by: SimpleLoginLibrary-master:app:unspecified
Sorry for any errors , please try now.
allprojects {
repositories {
jcenter()
}
}
compile 'barreto.simplelogin:barreto.simplelogin:1.0'
Hi there.. hi AleBarreto, thanks for so convenient implemention of social login.. helped me quicker for Facebook login..
but stuck with issue in google login.. after onclick, nothing is responding back.. also how incorporate Android M runtime permissions with your code..
pls help asap.. a big thanks in advance..
pls respond