Open dant3 opened 2 weeks ago
Sorry, I didnt' notice 1.11 version release.
Repoen, because it doesn't work with 1.11 either
Thanks for reporting. Having tried AGP 8.4 and 8.5, as well as plugin 1.10 and 1.11, I can't see this with any of these combinations in my projects, so I'll need to get some more info on your setup.
junitPlatform
block)?Thanks in advance.
I think I've run into the same problem. It looks like the Android Lint plugin is at fault instead.
// Work around https://issuetracker.google.com/issues/337776938
tasks
.named {
it == "generateDebugAndroidTestLintModel" || it == "lintAnalyzeDebugAndroidTest"
}
.configureEach { dependsOn("writeFiltersDebugAndroidTest") }
So the details are:
./gradlew check
. Actually running any lint task causes this error.The issue is clearly caused by lint changes in AGP, the workaround posted by @bddckr really helps to overcome it. If I downgrade AGP to 8.3.2 the issue goes away as well.
AGP 8.6.0 and Android Studio Koala Feature Drop | 2024.1.2 are out. That AGP version has a fix for this issue, and the workaround I posted is no longer necessary.
When trying to build a project using this plugin and AGP 8.4.0 or newer I'm getting the following error: