Rxjava 1 And Rxjava 2 In The Same Project
Our project uses RxJava 1: compile 'io.reactivex:rxjava:1.1.6' There is a library we use that uses RxJava 2 internally: compile 'io.reactivex.rxjava2:rxjava:2.0.9' When I do ./gr
Solution 1:
rxjava.properties file is not required at run time.
So you can exclude the file while packaging your android app by setting packagingOptions in app/build.gradle file as shown below.
android {
...
packagingOptions {
exclude 'META-INF/**rxjava.properties**'
}
}
Post a Comment for "Rxjava 1 And Rxjava 2 In The Same Project"