RxJava 2.2.13 Proguard issue
See original GitHub issueAfter updating to RxJava 2.2.13 we get the following proguard warnings and the build fails:
Warning: org.reactivestreams.FlowAdapters$FlowPublisherFromReactive: can't find superclass or interface java.util.concurrent.Flow$Publisher
Warning: org.reactivestreams.FlowAdapters$FlowToReactiveProcessor: can't find superclass or interface java.util.concurrent.Flow$Processor
Warning: org.reactivestreams.FlowAdapters$FlowToReactiveSubscriber: can't find superclass or interface java.util.concurrent.Flow$Subscriber
Warning: org.reactivestreams.FlowAdapters$FlowToReactiveSubscription: can't find superclass or interface java.util.concurrent.Flow$Subscription
Warning: org.reactivestreams.FlowAdapters: can't find referenced class java.util.concurrent.Flow$Publisher
Warning: org.reactivestreams.FlowAdapters: can't find referenced class java.util.concurrent.Flow$Processor
Warning: org.reactivestreams.FlowAdapters: can't find referenced class java.util.concurrent.Flow$Subscriber
Warning: org.reactivestreams.FlowAdapters: can't find referenced class java.util.concurrent.Flow
Warning: org.reactivestreams.FlowAdapters: can't find referenced class java.util.concurrent.Flow$Publisher
Warning: org.reactivestreams.FlowAdapters: can't find referenced class java.util.concurrent.Flow$Publisher
Warning: org.reactivestreams.FlowAdapters: can't find referenced class java.util.concurrent.Flow$Publisher
Warning: org.reactivestreams.FlowAdapters: can't find referenced class java.util.concurrent.Flow$Publisher
Warning: org.reactivestreams.FlowAdapters: can't find referenced class java.util.concurrent.Flow$Publisher
Warning: org.reactivestreams.FlowAdapters: can't find referenced class java.util.concurrent.Flow$Publisher
Warning: org.reactivestreams.FlowAdapters: can't find referenced class java.util.concurrent.Flow$Publisher
Warning: org.reactivestreams.FlowAdapters: can't find referenced class java.util.concurrent.Flow$Publisher
Warning: org.reactivestreams.FlowAdapters: can't find referenced class java.util.concurrent.Flow$Publisher
Warning: org.reactivestreams.FlowAdapters: can't find referenced class java.util.concurrent.Flow$Publisher
Warning: org.reactivestreams.FlowAdapters: can't find referenced class java.util.concurrent.Flow$Publisher
Warning: org.reactivestreams.FlowAdapters: can't find referenced class java.util.concurrent.Flow$Publisher
Warning: org.reactivestreams.FlowAdapters: can't find referenced class java.util.concurrent.Flow$Processor
Warning: org.reactivestreams.FlowAdapters: can't find referenced class java.util.concurrent.Flow$Processor
Warning: org.reactivestreams.FlowAdapters: can't find referenced class java.util.concurrent.Flow$Processor
Warning: org.reactivestreams.FlowAdapters: can't find referenced class java.util.concurrent.Flow$Processor
Warning: org.reactivestreams.FlowAdapters: can't find referenced class java.util.concurrent.Flow$Processor
Warning: org.reactivestreams.FlowAdapters: can't find referenced class java.util.concurrent.Flow$Processor
Warning: org.reactivestreams.FlowAdapters: can't find referenced class java.util.concurrent.Flow$Processor
Warning: org.reactivestreams.FlowAdapters: can't find referenced class java.util.concurrent.Flow$Processor
Warning: org.reactivestreams.FlowAdapters: can't find referenced class java.util.concurrent.Flow$Processor
Warning: org.reactivestreams.FlowAdapters: can't find referenced class java.util.concurrent.Flow$Processor
Warning: org.reactivestreams.FlowAdapters: can't find referenced class java.util.concurrent.Flow$Processor
Warning: org.reactivestreams.FlowAdapters: can't find referenced class java.util.concurrent.Flow$Processor
Warning: org.reactivestreams.FlowAdapters: can't find referenced class java.util.concurrent.Flow$Subscriber
Warning: org.reactivestreams.FlowAdapters: can't find referenced class java.util.concurrent.Flow$Subscriber
Warning: org.reactivestreams.FlowAdapters: can't find referenced class java.util.concurrent.Flow$Subscriber
Warning: org.reactivestreams.FlowAdapters: can't find referenced class java.util.concurrent.Flow$Subscriber
Warning: org.reactivestreams.FlowAdapters: can't find referenced class java.util.concurrent.Flow$Subscriber
Warning: org.reactivestreams.FlowAdapters: can't find referenced class java.util.concurrent.Flow$Subscriber
Warning: org.reactivestreams.FlowAdapters: can't find referenced class java.util.concurrent.Flow$Subscriber
Warning: org.reactivestreams.FlowAdapters: can't find referenced class java.util.concurrent.Flow$Subscriber
Warning: org.reactivestreams.FlowAdapters: can't find referenced class java.util.concurrent.Flow$Subscriber
Warning: org.reactivestreams.FlowAdapters: can't find referenced class java.util.concurrent.Flow$Subscriber
Warning: org.reactivestreams.FlowAdapters: can't find referenced class java.util.concurrent.Flow$Subscriber
Warning: org.reactivestreams.FlowAdapters: can't find referenced class java.util.concurrent.Flow$Subscriber
Warning: org.reactivestreams.FlowAdapters$FlowPublisherFromReactive: can't find referenced class java.util.concurrent.Flow$Publisher
Warning: org.reactivestreams.FlowAdapters$FlowPublisherFromReactive: can't find referenced class java.util.concurrent.Flow$Subscriber
Warning: org.reactivestreams.FlowAdapters$FlowPublisherFromReactive: can't find referenced class java.util.concurrent.Flow
Warning: org.reactivestreams.FlowAdapters$FlowPublisherFromReactive: can't find referenced class java.util.concurrent.Flow$Subscriber
Warning: org.reactivestreams.FlowAdapters$FlowPublisherFromReactive: can't find referenced class java.util.concurrent.Flow$Subscriber
Warning: org.reactivestreams.FlowAdapters$FlowPublisherFromReactive: can't find referenced class java.util.concurrent.Flow$Subscriber
Warning: org.reactivestreams.FlowAdapters$FlowPublisherFromReactive: can't find referenced class java.util.concurrent.Flow$Subscriber
Warning: org.reactivestreams.FlowAdapters$FlowPublisherFromReactive: can't find referenced class java.util.concurrent.Flow$Publisher
Warning: org.reactivestreams.FlowAdapters$FlowToReactiveProcessor: can't find referenced class java.util.concurrent.Flow$Processor
Warning: org.reactivestreams.FlowAdapters$FlowToReactiveProcessor: can't find referenced class java.util.concurrent.Flow$Subscription
Warning: org.reactivestreams.FlowAdapters$FlowToReactiveProcessor: can't find referenced class java.util.concurrent.Flow$Subscriber
Warning: org.reactivestreams.FlowAdapters$FlowToReactiveProcessor: can't find referenced class java.util.concurrent.Flow
Warning: org.reactivestreams.FlowAdapters$FlowToReactiveProcessor: can't find referenced class java.util.concurrent.Flow$Subscription
Warning: org.reactivestreams.FlowAdapters$FlowToReactiveProcessor: can't find referenced class java.util.concurrent.Flow$Subscription
Warning: org.reactivestreams.FlowAdapters$FlowToReactiveProcessor: can't find referenced class java.util.concurrent.Flow$Subscriber
Warning: org.reactivestreams.FlowAdapters$FlowToReactiveProcessor: can't find referenced class java.util.concurrent.Flow$Subscriber
Warning: org.reactivestreams.FlowAdapters$FlowToReactiveProcessor: can't find referenced class java.util.concurrent.Flow$Subscriber
Warning: org.reactivestreams.FlowAdapters$FlowToReactiveProcessor: can't find referenced class java.util.concurrent.Flow$Subscriber
Warning: org.reactivestreams.FlowAdapters$FlowToReactiveProcessor: can't find referenced class java.util.concurrent.Flow$Processor
Warning: org.reactivestreams.FlowAdapters$FlowToReactiveSubscriber: can't find referenced class java.util.concurrent.Flow$Subscriber
Warning: org.reactivestreams.FlowAdapters$FlowToReactiveSubscriber: can't find referenced class java.util.concurrent.Flow$Subscription
Warning: org.reactivestreams.FlowAdapters$FlowToReactiveSubscriber: can't find referenced class java.util.concurrent.Flow
Warning: org.reactivestreams.FlowAdapters$FlowToReactiveSubscriber: can't find referenced class java.util.concurrent.Flow$Subscription
Warning: org.reactivestreams.FlowAdapters$FlowToReactiveSubscriber: can't find referenced class java.util.concurrent.Flow$Subscription
Warning: org.reactivestreams.FlowAdapters$FlowToReactiveSubscriber: can't find referenced class java.util.concurrent.Flow$Subscriber
Warning: org.reactivestreams.FlowAdapters$FlowToReactiveSubscription: can't find referenced class java.util.concurrent.Flow$Subscription
Warning: org.reactivestreams.FlowAdapters$FlowToReactiveSubscription: can't find referenced class java.util.concurrent.Flow
Warning: org.reactivestreams.FlowAdapters$ReactivePublisherFromFlow: can't find referenced class java.util.concurrent.Flow$Publisher
Warning: org.reactivestreams.FlowAdapters$ReactivePublisherFromFlow: can't find referenced class java.util.concurrent.Flow$Publisher
Warning: org.reactivestreams.FlowAdapters$ReactivePublisherFromFlow: can't find referenced class java.util.concurrent.Flow
Warning: org.reactivestreams.FlowAdapters$ReactivePublisherFromFlow: can't find referenced class java.util.concurrent.Flow$Subscriber
Warning: org.reactivestreams.FlowAdapters$ReactivePublisherFromFlow: can't find referenced class java.util.concurrent.Flow$Publisher
Warning: org.reactivestreams.FlowAdapters$ReactivePublisherFromFlow: can't find referenced class java.util.concurrent.Flow$Publisher
Warning: org.reactivestreams.FlowAdapters$ReactivePublisherFromFlow: can't find referenced class java.util.concurrent.Flow$Publisher
Warning: org.reactivestreams.FlowAdapters$ReactivePublisherFromFlow: can't find referenced class java.util.concurrent.Flow$Publisher
Warning: org.reactivestreams.FlowAdapters$ReactivePublisherFromFlow: can't find referenced class java.util.concurrent.Flow$Publisher
Warning: org.reactivestreams.FlowAdapters$ReactivePublisherFromFlow: can't find referenced class java.util.concurrent.Flow$Publisher
Warning: org.reactivestreams.FlowAdapters$ReactiveToFlowProcessor: can't find referenced class java.util.concurrent.Flow$Processor
Warning: org.reactivestreams.FlowAdapters$ReactiveToFlowProcessor: can't find referenced class java.util.concurrent.Flow$Processor
Warning: org.reactivestreams.FlowAdapters$ReactiveToFlowProcessor: can't find referenced class java.util.concurrent.Flow$Processor
Warning: org.reactivestreams.FlowAdapters$ReactiveToFlowProcessor: can't find referenced class java.util.concurrent.Flow$Processor
Warning: org.reactivestreams.FlowAdapters$ReactiveToFlowProcessor: can't find referenced class java.util.concurrent.Flow$Processor
Warning: org.reactivestreams.FlowAdapters$ReactiveToFlowProcessor: can't find referenced class java.util.concurrent.Flow$Processor
Warning: org.reactivestreams.FlowAdapters$ReactiveToFlowProcessor: can't find referenced class java.util.concurrent.Flow
Warning: org.reactivestreams.FlowAdapters$ReactiveToFlowProcessor: can't find referenced class java.util.concurrent.Flow$Subscription
Warning: org.reactivestreams.FlowAdapters$ReactiveToFlowProcessor: can't find referenced class java.util.concurrent.Flow$Subscriber
Warning: org.reactivestreams.FlowAdapters$ReactiveToFlowProcessor: can't find referenced class java.util.concurrent.Flow$Processor
Warning: org.reactivestreams.FlowAdapters$ReactiveToFlowProcessor: can't find referenced class java.util.concurrent.Flow$Processor
Warning: org.reactivestreams.FlowAdapters$ReactiveToFlowProcessor: can't find referenced class java.util.concurrent.Flow$Processor
Warning: org.reactivestreams.FlowAdapters$ReactiveToFlowProcessor: can't find referenced class java.util.concurrent.Flow$Processor
Warning: org.reactivestreams.FlowAdapters$ReactiveToFlowProcessor: can't find referenced class java.util.concurrent.Flow$Processor
Warning: org.reactivestreams.FlowAdapters$ReactiveToFlowProcessor: can't find referenced class java.util.concurrent.Flow$Processor
Warning: org.reactivestreams.FlowAdapters$ReactiveToFlowSubscriber: can't find referenced class java.util.concurrent.Flow$Subscriber
Warning: org.reactivestreams.FlowAdapters$ReactiveToFlowSubscriber: can't find referenced class java.util.concurrent.Flow$Subscriber
Warning: org.reactivestreams.FlowAdapters$ReactiveToFlowSubscriber: can't find referenced class java.util.concurrent.Flow$Subscriber
Warning: org.reactivestreams.FlowAdapters$ReactiveToFlowSubscriber: can't find referenced class java.util.concurrent.Flow$Subscriber
Warning: org.reactivestreams.FlowAdapters$ReactiveToFlowSubscriber: can't find referenced class java.util.concurrent.Flow$Subscriber
Warning: org.reactivestreams.FlowAdapters$ReactiveToFlowSubscriber: can't find referenced class java.util.concurrent.Flow
Warning: org.reactivestreams.FlowAdapters$ReactiveToFlowSubscriber: can't find referenced class java.util.concurrent.Flow$Subscription
Warning: org.reactivestreams.FlowAdapters$ReactiveToFlowSubscriber: can't find referenced class java.util.concurrent.Flow$Subscriber
Warning: org.reactivestreams.FlowAdapters$ReactiveToFlowSubscriber: can't find referenced class java.util.concurrent.Flow$Subscriber
Warning: org.reactivestreams.FlowAdapters$ReactiveToFlowSubscriber: can't find referenced class java.util.concurrent.Flow$Subscriber
Warning: org.reactivestreams.FlowAdapters$ReactiveToFlowSubscriber: can't find referenced class java.util.concurrent.Flow$Subscriber
Warning: org.reactivestreams.FlowAdapters$ReactiveToFlowSubscriber: can't find referenced class java.util.concurrent.Flow$Subscriber
Warning: org.reactivestreams.FlowAdapters$ReactiveToFlowSubscriber: can't find referenced class java.util.concurrent.Flow$Subscriber
Warning: org.reactivestreams.FlowAdapters$ReactiveToFlowSubscription: can't find referenced class java.util.concurrent.Flow$Subscription
Warning: org.reactivestreams.FlowAdapters$ReactiveToFlowSubscription: can't find referenced class java.util.concurrent.Flow$Subscription
Warning: org.reactivestreams.FlowAdapters$ReactiveToFlowSubscription: can't find referenced class java.util.concurrent.Flow$Subscription
Warning: org.reactivestreams.FlowAdapters$ReactiveToFlowSubscription: can't find referenced class java.util.concurrent.Flow
Warning: org.reactivestreams.FlowAdapters$ReactiveToFlowSubscription: can't find referenced class java.util.concurrent.Flow$Subscription
Warning: org.reactivestreams.FlowAdapters$ReactiveToFlowSubscription: can't find referenced class java.util.concurrent.Flow$Subscription
Warning: org.reactivestreams.FlowAdapters$ReactiveToFlowSubscription: can't find referenced class java.util.concurrent.Flow$Subscription
I assume it’s because of the changes from Reactive Streams 1.0.3:
FlowAdapters artifact removed, FlowAdapters moved into the core jar https://github.com/reactive-streams/reactive-streams-jvm/issues/424
Any advice on how to fix Proguard?
Issue Analytics
- State:
- Created 4 years ago
- Comments:5 (3 by maintainers)
Top Results From Across the Web
Could not find io.reactivex.rxjava2:rxandroid:2.2.20
I have tried rxjava library for the first time but the project is not being synced." Could not find io. reactivex. rxjava2:rxandroid:2.2. 20....
Read more >io.reactivex.rxjava2 : rxjava : 2.2.13 - Maven Central
RxJava - Reactive Extensions for Java.
Read more >ProGuard Manual: Troubleshooting - Guardsquare
Possible work-arounds: let the java compiler not produce debug information ( -g:none ), or let ProGuard's obfuscation step remove the debug information again...
Read more >RxJava 2 for Android Apps: RxBinding and RxLifecycle - Code
RxJava is one of the most popular libraries for bringing reactive ... proguardFiles getDefaultProguardFile('proguard-android.txt'), ...
Read more >Retiring Packages with Broken Dependencies in branched ...
... requires java-headless = 1:1.8.0 jdo2-api-2.2-13.fc26.src requires java-devel = 1:1.8.0 ... Please report issues at its pagure instance: ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
You may suppress the warning apparently, one of these could work:
I believe it’s as simple as this:
I wanted to submit a PR but RxJava does not work with Gradle 5.x and the Gradle Wrapper 4.x that is being used does not like my Java 11 version 🤷♂️ Hence I can’t verify it