Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
318 views
in Technique[技术] by (71.8m points)

android - Unable to update Dagger 2 to Dagger 2.30 . Getting Execution failed for task ':app:kaptDebugKotlin'. error in build log?

I tried to upgrade Dagger 2 from 2.17 to 2.30 .

I got some depreciation error and I fixed them

And after building again , I got error without explanation

> Task :app:kaptDebugKotlin FAILED

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':app:kaptDebugKotlin'.
> A failure occurred while executing org.jetbrains.kotlin.gradle.internal.KaptExecution
   > java.lang.reflect.InvocationTargetException (no error message

I can't find what's went wrong here .

please help me . I am attaching stack trace here with Gradle

https://gist.github.com/RageshAntony/9ec42c77d5c02c9dd567230c0fb2322a

  • Gradle build tools: : 4.1.1
  • Gradle : 6.7.1
  • Kotlin : : 1.4.20
  • dagger : 2.30
question from:https://stackoverflow.com/questions/65643063/unable-to-update-dagger-2-to-dagger-2-30-getting-execution-failed-for-task-a

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)
Waitting for answers

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...