Hi,
The new stable version of Android Studio suggest to update Gradle to 3.4.0 to get all the latest benefits.
After updating my Gradle from 3.3.2 ( wrapper 4.10.1 ) to 3.4.0 ( wrapper 5.1.1 ) the library is not resolved properly. That means all the references to rxKotlin in my project are not resolved. The behaviour is similar to commenting out the dependency in build.gradle.
Error examples:
- Unresolved reference: CompositeDisposable
- Unresolved reference: BehaviorSubject
- Unresolved reference: subjects
library reference: implementation 'io.reactivex.rxjava2:rxkotlin:2.3.0'
kotlin gradle plugin version: '1.3.31'
Steps to fix:
- project clean
- cache removal
- invalidate caches + restart
- remove build folder
- try in a different project