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

前端 未结 30 1802
南旧
南旧 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:38

    This method occurs to me everything there is a problem with Room database and Coroutines, even spell mistakes. Lastly was when trying to return a single value with a Flow after inserted column, by: Flow from DAOs classes.

    It should be a suspend function and only Long type to return after inserted column.

    These problems are ambiguous sometime, so try to read all the Build Output messages, the message that help me was: error: Not sure how to handle insert method's return type.

提交回复
热议问题