Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Comments

@h-zhouwenjun
Copy link

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)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant