We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I'm getting error Failed to resolve: com.github.GrednerG:Toasty:1.1.2 whenever I try to build.
Here is my gradle file:
buildscript { repositories { mavenLocal() jcenter() maven { url "https://jitpack.io" } } dependencies { classpath 'com.android.tools.build:gradle:2.1.0' classpath 'com.google.gms:google-services:3.0.0' // NOTE: Do not place your application dependencies here; they belong // in the individual module build.gradle files } } allprojects { repositories { mavenLocal() jcenter() } } task clean(type: Delete) { delete rootProject.buildDir }
The text was updated successfully, but these errors were encountered:
Please go to File->Settings->Gradle. Uncheck the Offline work if it is checked and sync the project again. It worked for me. Happy coding!
Sorry, something went wrong.
Try to move maven { url "https://jitpack.io" } inside allprojects > repositories instead of buildscript > repositories and tell me if it works.
maven { url "https://jitpack.io" }
allprojects > repositories
buildscript > repositories
Solved.
I'm getting error Failed to resolve: com.github.GrednerG:Toasty:1.1.2 whenever I try to build. Here is my gradle file: buildscript { repositories { mavenLocal() jcenter() maven { url "https://jitpack.io" } } dependencies { classpath 'com.android.tools.build:gradle:2.1.0' classpath 'com.google.gms:google-services:3.0.0' // NOTE: Do not place your application dependencies here; they belong // in the individual module build.gradle files } } allprojects { repositories { mavenLocal() jcenter() } } task clean(type: Delete) { delete rootProject.buildDir }
disable this experimental feature from File → Settings → Experimental → Gradle → Only sync the active variant
No branches or pull requests
I'm getting error Failed to resolve: com.github.GrednerG:Toasty:1.1.2 whenever I try to build.
Here is my gradle file:
The text was updated successfully, but these errors were encountered: