Android Studio 打包时出现unable to find valid certification path to requested target

Android Studio 打包时出现unable to find valid certification path to requested target


仔细看了下原因:Could not determine the dependencies of task ‘:app:lintVitalRelease’
解决方法,在build.gradle中,添加以下代码

lintOptions {
        checkReleaseBuilds false
        abortOnError false
    }

如下图
Android Studio 打包时出现unable to find valid certification path to requested target_第1张图片

你可能感兴趣的:(Android Studio 打包时出现unable to find valid certification path to requested target)