仅在Android 4.4和4.2上发生
java.lang.NoClassDefFoundError: io.reactivex.f
at com.google.firebase.inappmessaging.a.cc.get(com.google.firebase:firebase-inappmessaging@@17.0.1:1046)
at dagger.a.b.get(DoubleCheck.java:47)
at com.google.firebase.inappmessaging.a.bf.d(com.google.firebase:firebase-inappmessaging@@17.0.1:221)
at com.google.firebase.inappmessaging.a.be$d.get(com.google.firebase:firebase-inappmessaging@@17.0.1:1283)
at com.google.firebase.inappmessaging.a.ah.get(com.google.firebase:firebase-inappmessaging@@17.0.1:1061)
at dagger.a.b.get(DoubleCheck.java:47)
at com.google.firebase.inappmessaging.j.get(com.google.firebase:firebase-inappmessaging@@17.0.1:1063)
at dagger.a.b.get(DoubleCheck.java:47)
并且我正在将17.0.4版用于Firebase应用内消息传递
implementation 'com.google.firebase:firebase-core:16.0.6'
implementation 'com.google.firebase:firebase-inappmessaging-display:17.0.4'
ext.daggerVersion = '2.19'
ext.rxJavaVersion = '2.2.2'
// Dagger: core
implementation "com.google.dagger:dagger:$daggerVersion"
kapt "com.google.dagger:dagger-compiler:$daggerVersion"
// Dagger: dagger.android
implementation "com.google.dagger:dagger-android:$daggerVersion"
kapt "com.google.dagger:dagger-android-processor:$daggerVersion"
// Dagger: support libraries
implementation "com.google.dagger:dagger-android-support:$daggerVersion"
kapt "com.google.dagger:dagger-android-support:$daggerVersion"
// RxJava2 - Core
api "io.reactivex.rxjava2:rxjava:$rxJavaVersion"
api "io.reactivex.rxjava2:rxandroid:$rxAndroidVersion"
对这个错误有任何想法吗?