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

Android Studio打包报错,提示 Could not determine the dependencies of task ':app:lintVitalRelease'

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

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

android {
    compileSdkVersion 26
    
    ...

    lintOptions {
        checkReleaseBuilds false
        abortOnError false
    }
}

参考:https://blog.csdn.net/u010230055/article/details/80742626

上一篇:Tensorflow-gpu运行出错Could not load dynamic library ‘cusolver64_10.dll‘;


下一篇:VPS、物理服务器、虚拟主机、云服务器的含义与区别