Closed sharukhmohammed closed 6 years ago
Where have you aded the maven repository?
Try to add it to
allprojects {
repositories {
maven { url "https://raw.github.com/laenger/maven-releases/master/releases" }
}
}
Now I've moved it to the project level build.gradle file and it syncs without the error. I wonder why it would fail when it was placed in the module level. Thanks!
Why must I mention the maven URL in project level build.gradle? This has drastically improved the build time as it searches for libs like 'play-services' and 'app-compat' in your url. Happens recursively and fails to get anything from the same.
I get this error on Studio 3.1
I have added the Maven Url too