Hey guys, does anyone have problems with Kotlin and Rx when building the app. I’m using Kotlin’s Boolean type as the generic type :
error: unexpected type
private final io.reactivex.SingleObserver<boolean> addTripObserver() {
^
required: reference
found: boolean
java.lang.IllegalStateException: failed to analyze: org.jetbrains.kotlin.kapt3.diagnostic.KaptError: Error while annotation processing
and it fails with Java