You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The observer class has some methods that use newer APIs which are not available in the current OS version. Lifecycles cannot access even other methods so you should make sure that your observer classes only access framework classes that are available in your min API level OR use lifecycle:compiler annotation processor. at androidx.lifecycle.b.c(ClassesInfoCache.java:72) at androidx.lifecycle.b.a(ClassesInfoCache.java:50) at androidx.lifecycle.n.c(Lifecycling.java:163) at androidx.lifecycle.n.b(Lifecycling.java:145) at androidx.lifecycle.n.b(Lifecycling.java:82) at androidx.lifecycle.l$a.<init>(LifecycleRegistry.java:354) at androidx.lifecycle.l.a(LifecycleRegistry.java:170)
#3
Open
h-zhouwenjun opened this issue
Feb 14, 2020
· 0 comments
The observer class has some methods that use newer APIs which are not available in the current OS version. Lifecycles cannot access even other methods so you should make sure that your observer classes only access framework classes that are available in your min API level OR use lifecycle:compiler annotation processor.
at androidx.lifecycle.b.c(ClassesInfoCache.java:72)
at androidx.lifecycle.b.a(ClassesInfoCache.java:50)
at androidx.lifecycle.n.c(Lifecycling.java:163)
at androidx.lifecycle.n.b(Lifecycling.java:145)
at androidx.lifecycle.n.b(Lifecycling.java:82)
at androidx.lifecycle.l$a.(LifecycleRegistry.java:354)
at androidx.lifecycle.l.a(LifecycleRegistry.java:170)
The text was updated successfully, but these errors were encountered:
The observer class has some methods that use newer APIs which are not available in the current OS version. Lifecycles cannot access even other methods so you should make sure that your observer classes only access framework classes that are available in your min API level OR use lifecycle:compiler annotation processor.
at androidx.lifecycle.b.c(ClassesInfoCache.java:72)
at androidx.lifecycle.b.a(ClassesInfoCache.java:50)
at androidx.lifecycle.n.c(Lifecycling.java:163)
at androidx.lifecycle.n.b(Lifecycling.java:145)
at androidx.lifecycle.n.b(Lifecycling.java:82)
at androidx.lifecycle.l$a.(LifecycleRegistry.java:354)
at androidx.lifecycle.l.a(LifecycleRegistry.java:170)
The text was updated successfully, but these errors were encountered: