Advertisement
nauk0a

Untitled

Jul 21st, 2020
232
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Kotlin 1.29 KB | None | 0 0
  1. > Task :app:kaptDebugKotlin FAILED
  2. /Users/rustam/AndroidStudioProjects/Room/app/build/tmp/kapt3/stubs/debug/com/nauka/room/EmployeeWithAddress.java:9: error: Cannot find setter for field.
  3.     private final com.nauka.room.Employee employee = null;
  4.                                           ^/Users/rustam/AndroidStudioProjects/Room/app/build/tmp/kapt3/stubs/debug/com/nauka/room/EmployeeDao.java:27: warning: The return value includes a Pojo with a @Relation. It is usually desired to annotate this method with @Transaction to avoid possibility of inconsistent results between the Pojo and its relations. See https://developer.android.com/reference/android/arch/persistence/room/Transaction.html for details.
  5.     public abstract java.util.List<com.nauka.room.EmployeeWithAddress> getAllEmployee();
  6.                                                                        ^[WARN] Incremental annotation processing requested, but support is disabled because the following processors are not incremental: androidx.room.RoomProcessor (NON_INCREMENTAL).
  7.  
  8. FAILURE: Build failed with an exception.
  9.  
  10. * What went wrong:
  11. Execution failed for task ':app:kaptDebugKotlin'.
  12. > A failure occurred while executing org.jetbrains.kotlin.gradle.internal.KaptExecution
  13.    > java.lang.reflect.InvocationTargetException (no error message)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement