Signed Release APK - Could not find com.android.tools.lint:lint-gradle:26.1.2 (Signed Debug APK Works Fine)(General Build Works fine)

Has anyone ever seen this error? it magically appeared in Android Studio

This only shows with generate signed AKP release version

Signed APK debug works

General build works

I have tried this solution with no effect here

This error seems to have completely magically appeared with no changes to cause it

Only thing I can think of is a android studio update

Thanks All

I went fine with this.

  • proj.android-studio/app/build.gradle
...
android {
...
    buildTypes{
        ...
    }

    // add: Prevent errors in "Generate Signed APK"
    lintOptions {
        abortOnError false
    }
}

dependencies {
    ...
}

This was already in there. I am currently manually placing every one of these missing jar and pom files in they places it says it has looked. Every time I place a new one in, it then wants another one. The image below are all the things it’s looking for. So it seems it is missing an entire library, maven library

The link is here, most what is required is here
https://mvnrepository.com/artifact/com.android.tools.lint

Hopefully this will fix issue. i have some more to enter, enetering them

Fixed after I added google() to repositories

repositories {
google()
jcenter()
}

1 Like

I have them already. Didn’t do much

this has worked well for me! thanks!:pray: