0

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)

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 Answers1

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