簡體   English   中英

將 jetbrain 插件 5.31 升級到 6.0 時,在片段 kotlin 房間協程上使用掛起時出錯

[英]Error with use of suspend on fragment kotlin room coroutine when upgrade jetbrain plugin 5.31 to 6.0

在房間協程中使用指令掛起會出現很多錯誤,例如:

error: Not sure how to handle query method's return type (java.lang.Object). DELETE query methods must either return void or int (the number of deleted rows).
    public abstract java.lang.Object deleteEvento(@org.jetbrains.annotations.NotNull()"

This happen when change classpath org.jetbrains.kotlin:kotlin-gradle-plugin:1.5.31 to classpath org.jetbrains.kotlin:kotlin-gradle-plugin:1.6.0 in build.gradle What else may I do to use this new version of噴氣大腦

我在這里舉個例子: https://github.com/sysmart/ErrorSuspend

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM