Andoridx Room Rx Issue
I'm start to use latest androidx.room version that support io.reactivex return type. dependencies { def room_version = '2.1.0-alpha02' implementation 'androidx.room:room-r
Solution 1:
I had the same problem. Solved it by adding
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
}
in build.gradle
Solution 2:
I'm using Linux machine and combining answers of user3021656 and tynn got success build with
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
}
and setting Java version for Android Studio as
java version "1.8.0_191"
Java(TM) SE Runtime Environment (build 1.8.0_191-b12)
Post a Comment for "Andoridx Room Rx Issue"