![]() ![]() The problem in transitive library dependenciesĪppCompat, Activity, Fragment and other AndroidX libraries have outdated versions of lifecycle-common library in their dependencies. ![]() But when I navigate in AndroidStudio it seems, that the gradle libraries are used.Īny explanation, what is going on here, and how I can fix it? So it seems, that AndroidStudio is using other libraries than Gradle. Which should fulfill the interface method getLifecycle of LifeCycleOwner. In my Android project in AndroidStudio a class (named MyService below), which extends LifecycleService, is marked with the following error message:Ĭlass 'MyService' is not abstract and does not implement abstract base class member public abstract fun getLifecycle(): Lifecycle defined in īut the build with Gradle is fine, and when I navigate to the class LifecycleService, it is neither abstract nor is the getLifecycle method missing, due to the following definition: override val lifecycle: Lifecycle
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |