A failure occurred while executing org.jetbrains.kotlin.gradle.internal.KaptExecution

前端 未结 30 1812
南旧
南旧 2020-12-12 20:01

All of sudden I start getting this error, and I am not getting idea why if anyone just let me know where this error is, will be enough helpful. As much I am able to get is t

30条回答
  •  一整个雨季
    2020-12-12 20:22

    For me, a bunch of reference errors and an error in the XML expressions with DataBinding produced this error.

    I have deleted a in a layout file, because I thought, I don't need it anymore. I forgot that I had the variable referenced in the layout file.

    After building the project, this produced an error, where it was not possible to import the BindingImpl class, because it does not exist and this error was only shown as a warning parallel to the above KaptExecution error.

    After searching for a while, I found this error and resolved it. Then, a bunch of reference errors where shown, because I renamed something and it did not rename it in the Fragment files. After resolving these errors too, the build finished for me without errors or warnings.

提交回复
热议问题