skip to Main Content

Android Studio – Compiler error migrating to androidx.lifecycle 2.8.0 library

I am using: implementation 'androidx.lifecycle:lifecycle-extensions:2.2.0' implementation 'androidx.lifecycle:lifecycle-viewmodel-ktx:2.7.0' annotationProcessor 'androidx.lifecycle:lifecycle-common-java8:2.7.0' libraries in my Android Java project. If I try to move it to 2.8.0 version, I have a message from compiler: ViewModelProvider(androidx.lifecycle.viewmodel.ViewModelProviderImpl) has private access in 'androidx.lifecycle.ViewModelProvider. UPDATE: Thanks to @IanHannibalLake,…

VIEW QUESTION
Back To Top
Search