除了AGP更新之外,还将compileSdkVersion和targetSdkVersion更新为30。
\n构建成功(如果设置)
\nlintOptions {\n checkReleaseBuilds false\n}\nRun Code Online (Sandbox Code Playgroud)\n否则我得到
\nExecution failed for task \xe2\x80\x98:app:lintVitalProductionRelease\xe2\x80\x99.\n> Could not resolve all dependencies for configuration \xe2\x80\x98:app:debugUnitTestRuntimeClasspath\xe2\x80\x99.\n > A problem occurred configuring project \xe2\x80\x98:core-testing\xe2\x80\x99.\n > java.lang.IllegalStateException: Accessing GradleBuildProject.Builder through AnalyticsConfiguratorService is not allowed after AnalyticsService is created.\nRun Code Online (Sandbox Code Playgroud)\ncompileSdkVersion 30\nbuildToolsVersion '30.0.3'\nminSdkVersion 21\ntargetSdkVersion 30\ngradle 7.0.2
\n伙计们,有什么想法吗?
\n