I have updated my Android Studio to 3.0 but now facing the lot of issues.. So now stopped on the point with below issue:
Could not resolve all files for configuration ':applib:_lintClassPath'.
> Could not find com.android.tools.lint:lint-gradle:26.1.0-alpha01.
Searched in the following locations:
file:/Users/alecxe/Library/Android/sdk/extras/m2repository/com/android/tools/lint/lint-gradle/26.1.0-alpha01/lint-gradle-26.1.0-alpha01.pom
file:/Users/alecxe/Library/Android/sdk/extras/m2repository/com/android/tools/lint/lint-gradle/26.1.0-alpha01/lint-gradle-26.1.0-alpha01.jar
file:/Users/alecxe/Library/Android/sdk/extras/google/m2repository/com/android/tools/lint/lint-gradle/26.1.0-alpha01/lint-gradle-26.1.0-alpha01.pom
file:/Users/alecxe/Library/Android/sdk/extras/google/m2repository/com/android/tools/lint/lint-gradle/26.1.0-alpha01/lint-gradle-26.1.0-alpha01.jar
file:/Users/alecxe/Library/Android/sdk/extras/android/m2repository/com/android/tools/lint/lint-gradle/26.1.0-alpha01/lint-gradle-26.1.0-alpha01.pom
file:/Users/alecxe/Library/Android/sdk/extras/android/m2repository/com/android/tools/lint/lint-gradle/26.1.0-alpha01/lint-gradle-26.1.0-alpha01.jar
https://jcenter.bintray.com/com/android/tools/lint/lint-gradle/26.1.0-alpha01/lint-gradle-26.1.0-alpha01.pom
https://jcenter.bintray.com/com/android/tools/lint/lint-gradle/26.1.0-alpha01/lint-gradle-26.1.0-alpha01.jar
https://jitpack.io/com/android/tools/lint/lint-gradle/26.1.0-alpha01/lint-gradle-26.1.0-alpha01.pom
https://jitpack.io/com/android/tools/lint/lint-gradle/26.1.0-alpha01/lint-gradle-26.1.0-alpha01.jar
file:/Users/alecxe/dev/project/dk_shopping_checklist/augmented/libs/lint-gradle-26.1.0-alpha01.jar
file:/Users/alecxe/dev/project/dk_shopping_checklist/augmented/libs/lint-gradle.jar
Required by:
project :applib
I am currently using latest gradle version as: "gradle-4.2.1-all.zip".
Does anyone know what my issue can be?
I have gone through your question and I understood it. I had faced the similar issue in the past and so know the solution on it.
If you are running the lint on a project that you have created using the older version of Android Studio then you may encounter the error.
To fix this issue for each of the project that you would like to run lint on please include Google's Maven repository in your top-level build.gradle file, as shown in below example:
allprojects {
repositories {
// The order in which you list these repositories does matter.
google()
jcenter()
}
OR
You can fix your issue by adding the https://mvnrepository.com/artifact/com.android.tools.lint/lint-gradle-api repository to your build.gradle as shown below :
maven {
url 'https://maven.google.com/'
name 'Google'
url 'https://mvnrepository.com/artifact/com.android.tools.lint/lint-gradle-api'