allprojects {
repositories {
...
maven { url "https://jitpack.io" }
}
}As of the 7.X.X gradle build tools - allprojects is deprecated In that case follow Step 3 ->
dependencies {
...
implementation 'com.github.intellicar:lafm_android_sdk:0.0.112'
}Please replace x, y and z with the latest version
numbers:
As of the 7.X.X gradle build tools Android projects will no longer generate with allprojects blocks in their project build.gradle files. It will instead generate a dependencyResolutionManagement block in settings.gradle.
dependencyResolutionManagement {
repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
repositories {
...
maven {
url 'https://jitpack.io'
}
}
}Please visit Documentation