android / architecture-components-samples

Samples for Android Architecture Components.
https://d.android.com/arch
Apache License 2.0
23.42k stars 8.29k forks source link

Getting proguard error while using Room #251

Closed reactivedroid closed 4 years ago

reactivedroid commented 6 years ago

Warning:Supported source version 'RELEASE_7' from annotation processor 'android.arch.persistence.room.RoomProcessor' less than -source '1.8' Warning:library class io.reactivex.internal.observers.ToNotificationObserver extends or implements program class io.reactivex.Observer Warning:library class io.reactivex.internal.observers.ToNotificationObserver extends or implements program class io.reactivex.disposables.Disposable Warning:library class io.reactivex.internal.operators.flowable.FlowableTimer$IntervalOnceSubscriber extends or implements program class org.reactivestreams.Subscription Warning:library class io.reactivex.internal.operators.observable.ObservableRedo extends or implements program class io.reactivex.internal.operators.observable.AbstractObservableWithUpstream Warning:library class io.reactivex.internal.operators.observable.ObservableRedo$1 extends or implements program class io.reactivex.functions.Consumer Warning:library class io.reactivex.internal.operators.observable.ObservableRedo$RedoObserver extends or implements program class io.reactivex.Observer Warning:library class io.reactivex.internal.operators.observable.ObservableTimer$IntervalOnceObserver extends or implements program class io.reactivex.disposables.Disposable Warning:library class io.reactivex.internal.operators.single.SingleMap$1 extends or implements program class io.reactivex.SingleObserver Warning:there were 8 instances of library classes depending on program classes. Warning:Exception while processing task java.io.IOException: Please correct the above warnings first. Error:Execution failed for task ':app:transformClassesAndResourcesWithProguardForProdRelease'.

Job failed, see logs for details

@yigit Please help

ianhanniballake commented 4 years ago

This doesn't seem to be an issue with the samples. You can file an issue against Room on the issue tracker if you're still having an issue.