其他分享
首页 > 其他分享> > 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

标签:task,false,Could,报错,determine,lintOptions,Android,app
来源: https://blog.csdn.net/zhouyingge1104/article/details/116809007