Process: android.ul.com.ulinappchatdemo, PID: 2840 java.lang.RuntimeException: Unable to get provider android.arch.lifecycle.ProcessLifecycleOwnerInitializer: java.lang.ClassNotFoundException: Didn't find class "android.arch.lifecycle.ProcessLifecycleOwnerInitializer" on path: DexPathList[[zip file "/data/app/android.ul.com.demo-1.apk"],nativeLibraryDirectories=[/data/app-lib/android.ul.com.demo-1, /vendor/lib, /system/lib]] at android.app.ActivityThread.installProvider(ActivityThread.java:4793)
Caused by: java.lang.ClassNotFoundException: Didn't find class "android.arch.lifecycle.ProcessLifecycleOwnerInitializer" on path: DexPathList[[zip file "/data/app/android.ul.com.demo-1.apk"],nativeLibraryDirectories=[/data/app-lib/android.ul.com.demo-1, /vendor/lib, /system/lib]] at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:56) at java.lang.ClassLoader.loadClass(ClassLoader.java:497) at java.lang.ClassLoader.loadClass(ClassLoader.java:457)
Asked
Active
Viewed 1,713 times
0

Levon Petrosyan
- 8,815
- 8
- 54
- 65

Vikash
- 179
- 1
- 7
-
What's this? It looks like a Garbage to me. Sorry but when you are asking a question, you should put little more details to make it easy to understand what issues you are facing exactly. Hope you will get my point! – Paresh Mayani Nov 09 '17 at 12:13
-
Im using lifecycle components in my app , Im able to install and run the app on my device with marshmallow but when i installed it on kitkat i got this exception. – Vikash Nov 09 '17 at 12:19
-
As this is the first search result that pops up when searching this problem. Here's the solution: https://issuetracker.google.com/issues/68296658 – Juhani Nov 13 '17 at 13:59
-
Here is the solution on Stack Overflow: https://stackoverflow.com/a/49058316/2011622 – Peter F Mar 12 '18 at 13:13
1 Answers
3
Have you tried to Build -> Clean?
Your error is a ClassNotFoundException
so with the lack o context you provided, assuming that your project works on other API levels, try to clean up and build to see if clears your cache.

Joaquim Ley
- 4,038
- 2
- 24
- 42
-
-
Well, you must provide way more details then just pasting the stacktrace if you want us to help you out. – Joaquim Ley Nov 09 '17 at 12:27
-
I have the same problem. I'm using Architecture components (v 1.0.0), support libraries (v 26.1.0) and kotlin language. App just crash with the same exception as above when I try to run it on 19 API device. – Warcello Nov 10 '17 at 12:46
-
-
Is there any update for this issue? Will glad to know the workaround. :) – Khairil Ushan Jan 05 '18 at 19:19
-
1
-
Here is the proper answer for me: https://stackoverflow.com/a/48304196/1556745 – Warcello Mar 26 '18 at 11:31