SimpleLoginLibrary icon indicating copy to clipboard operation
SimpleLoginLibrary copied to clipboard

Dependency issue

Open GopiKrishnaBandaru opened this issue 9 years ago • 6 comments

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

GopiKrishnaBandaru avatar Mar 02 '16 13:03 GopiKrishnaBandaru

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.

AleBarreto avatar Mar 02 '16 14:03 AleBarreto

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

konigsoft avatar Mar 02 '16 16:03 konigsoft

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

vicpinm avatar Mar 05 '16 11:03 vicpinm

Sorry for any errors , please try now.

allprojects {
    repositories {
        jcenter()
    }
}

compile 'barreto.simplelogin:barreto.simplelogin:1.0'

AleBarreto avatar Mar 06 '16 14:03 AleBarreto

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..

irfushk avatar Sep 10 '16 08:09 irfushk

pls respond

irfushk avatar Sep 10 '16 08:09 irfushk