question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Android Kitkat Error

See original GitHub issue

Hi, First of all, I thank you for this library. I got some issue on Android 4.4.x version. Here is the exception: FATAL EXCEPTION: main Process: com.ross.android, PID: 9282 java.lang.RuntimeException: Unable to get provider com.readystatesoftware.chuck.internal.data.ChuckContentProvider: java.lang.ClassNotFoundException: Didn't find class "com.readystatesoftware.chuck.internal.data.ChuckContentProvider" on path: DexPathList[[zip file "/data/app/com.ross.android-1.apk"],nativeLibraryDirectories=[/data/app-lib/com.ross.android-1, /vendor/lib, /system/lib]] at android.app.ActivityThread.installProvider(ActivityThread.java:5060) at android.app.ActivityThread.installContentProviders(ActivityThread.java:4631) at android.app.ActivityThread.handleBindApplication(ActivityThread.java:4571) at android.app.ActivityThread.access$1500(ActivityThread.java:155) at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1406) at android.os.Handler.dispatchMessage(Handler.java:110) at android.os.Looper.loop(Looper.java:193) at android.app.ActivityThread.main(ActivityThread.java:5341) at java.lang.reflect.Method.invokeNative(Native Method) at java.lang.reflect.Method.invoke(Method.java:515) at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:830) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:646) at dalvik.system.NativeStart.main(Native Method) Caused by: java.lang.ClassNotFoundException: Didn't find class "com.readystatesoftware.chuck.internal.data.ChuckContentProvider" on path: DexPathList[[zip file "/data/app/com.ross.android-1.apk"],nativeLibraryDirectories=[/data/app-lib/com.ross.android-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) at android.app.ActivityThread.installProvider(ActivityThread.java:5045) at android.app.ActivityThread.installContentProviders(ActivityThread.java:4631)  at android.app.ActivityThread.handleBindApplication(ActivityThread.java:4571)  at android.app.ActivityThread.access$1500(ActivityThread.java:155)  at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1406)  at android.os.Handler.dispatchMessage(Handler.java:110)  at android.os.Looper.loop(Looper.java:193)  at android.app.ActivityThread.main(ActivityThread.java:5341)  at java.lang.reflect.Method.invokeNative(Native Method)  at java.lang.reflect.Method.invoke(Method.java:515)  at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:830)  at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:646)  at dalvik.system.NativeStart.main(Native Method) 

Thanks any advice…

Issue Analytics

  • State:open
  • Created 7 years ago
  • Reactions:3
  • Comments:6

github_iconTop GitHub Comments

3reactions
LloydBlvcommented, Sep 11, 2017

this issue happens when the multidex is enabled but the application class is not extended from MultidexApplication or Multidex.install is not called in onCreate()

1reaction
nethergrimcommented, Mar 24, 2017

This helped me:

debug {
            multiDexEnabled true
            multiDexKeepFile file('multidex.keep')
}

Content of multidex.keep:

com/readystatesoftware/chuck/internal/data/ChuckContentProvider.class
com/readystatesoftware/chuck/internal/data/ChuckDbOpenHelper.class

Read more comments on GitHub >

github_iconTop Results From Across the Web

Android KitKat problems and how to fix them - NextPit
A random reboot is when your phone just crashes and restarts without you doing anything and it is an annoying Android KitKat problem....
Read more >
Error inflating class ImageButton (Android KitKat)
The problem is you are using android:background here with android:srcCompat it will work . To make it work with android:background below API ...
Read more >
Fix Exchange ActiveSync or EAS sync error in Android KitKat
Fix Exchange ActiveSync or EAS sync error in Android KitKat · Go to system Settings >> Accounts >> Select “Corporate” · Press your...
Read more >
How to fix Wi-Fi problems in Android KitKat - Androidsis
The error tells us that the session has expired, instantly disconnecting from this network. The error may be due to Android checking the...
Read more >
Android Kitkat gives SSL Handshake error when connected to ...
However, android kitkat based phones are not able to connect to the API giving SSL handshake error. Lollipop and above work fine.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found