【发布时间】:2021-10-06 20:40:16
【问题描述】:
我正在尝试升级到 Gradle 7,但在尝试运行 lintDebug 时遇到了问题。该应用程序本身构建得很好。
这是错误
有什么建议? (我的 ANDROID_HOME 和 local.properties 设置正确)
> Could not resolve all files for configuration ':core:lintClassPath'.
> Could not resolve org.testng:testng:7.3.0.
Required by:
project :core > com.android.tools.lint:lint-gradle:30.0.2 > org.codehaus.groovy:groovy-all:3.0.7 > org.codehaus.groovy:groovy-testng:3.0.7
> Could not resolve org.testng:testng:7.3.0.
> Could not parse module metadata https://<ARTIFACTORY_REDACTED>/org/testng/testng/7.3.0/testng-7.3.0.module
> Use JsonReader.setLenient(true) to accept malformed JSON at line 1 column 1 path $
【问题讨论】:
标签: android android-gradle-plugin lint