Cleaning, restarting, wiped `.gradle` cache, even under my mac folder. In the 2nd or 3rd attempt after restarting the project, you will start seeing the error when trying to compile.Īnd from there onwards, every compilation fails. ![]() Please close it at least once, and after opening, make sure you: When you open the sample for the first time, it will most likely work. It just includes references between `library modules`, `kotlinx serialization` and `coroutines`, to replicate the issue in my real project. I've tried to make the sample as dummy as possible. I've tried below, and then replaced with pickFirst(), still an issue:Įxclude "META-INF/rxkotlin_main.kotlin_module"Įxclude "META-INF/kotlinx-io.kotlin_module"Įxclude "META-INF/atomicfu.kotlin_module"Įxclude "META-INF/kotlinx-coroutines-io.kotlin_module"Īttached is a simple project which fails and logs the error. Here are all the cases I've tried, no success whatsoever: I have tried all possible ways to tackle this issue.Īnd I've looked at any previous issues, resolutions, stackoverflow advises, you name it. Version of Java: Java 8, and then Java 15 problem #183632446: When Gradle Builds on the Studio External runtime triggers JPS structure Created issue.TaskExecutionException: Execution failed for task ':buildSrc-tests:lintAnalyze'.Ĭaused by: : Don't know how to handle ComponentIdentifier 'Gradle API'of type class .Īt .computeModelAddress(ResolvedArtifact.kt:167)Īt .(LintDependenciesModelBuilder.kt:70)Īt .createDependencies(ArtifactDependencyGraph.java:91)Īt .$gradle_core(AndroidLintInputs.kt:1590)Īt .$gradle_core(AndroidLintInputs.kt:1298)Īt .(AndroidLintInputs.kt:922)Īt .(AndroidLintAnalysisTask.kt:136)Īt .(AndroidLintAnalysisTask.kt:122)Īt .$taskAction$$inlined$recordTaskAction$1.invoke(BaseTask.kt:66)Īt .(Blocks.java:51)Īt .(NonIncrementalTask.kt:98) Run with -info or -debug option to get more log output. > Don't know how to handle ComponentIdentifier 'Gradle API'of type class. problem #198453608:lint Stand alone plug-ins can't handle gradleApi() Dependencies * What went wrong:Įxecution failed for task ':buildSrc-tests:lintAnalyze'.
0 Comments
Leave a Reply. |