Credit goes to : StackOverflow
6 down vote accepted
6 down vote accepted
It's a lintValidRelease issue.
You need an add lintOptions in Gradle file.
android {
..
lintOptions {
checkReleaseBuilds false
}
}
lintOptionsworks, but it seems like a workaround. What is the root cause? I'm connected to the internet and it doesn't help. – 0xF Apr 5 at 18:42Execution failed for task 'app:lintVitalRelease'. > Could not resolve all files for configuration 'app:lintClassPath'. > Could not find lint-checks.jar (com.android.tools.lint:lint-checks:26.1.2). Searched in the following locations: https://jcenter.bintray.com/com/android/tools/lint/lint-checks/26.1.2/lint-checks-26.1.2.jar– Rohit Karadkar May 28 at 14:54