Recently, our project was migrated to RxJava 3 from RxJava 2. When we run our tests in Firebase Test Lab, we see the app crashing during testing:
java.lang.NoSuchMethodError: No static method fromRunnable(Ljava/lang/Runnable;)Lio/reactivex/rxjava3/disposables/Disposable; in class Lio/reactivex/rxjava3/disposables/Disposable; or its super classes (declaration of 'io.reactivex.rxjava3.disposables.Disposable' appears in /data/app/com.example.client.developer-OsNMqNiVevCOI094EihlVg==/base.apk!classes7.dex)
RxJava 3 contains static interface methods, as denoted here, but the Android Gradle Plugin should be desugaring these usages and making them work on pre-Java 8 API levels. Does anyone know what is going on here?