Android Studio打包报错:Could not determine the dependencies of task ‘:app:lintVitalRelease‘

转自:https://www.jb51.cc/android/1045206.html

解决办法:build.gradle(Module:app)中添加lintOptions:

android {
    compileSdkVersion 26
    
    ...
    lintOptions {
        checkReleaseBuilds false
        abortOnError false
    }
}

你可能感兴趣的:(Android,android,studio,android,ide)