java.lang.RuntimeException: Unable to start activity ComponentInfo{org.kiwix.kiwixcustomwikivoyage/org.kiwix.kiwixcustomwikivoyage.settings.KiwixSettingsActivity}: android.view.InflateException: Binary XML file line #8: Error inflating class org.kiwix.kiwixcustomwikivoyage.settings.SliderPreference

GitHub | kelson42 | 9 months ago
  1. 0

    Android custom app crashing by clicking on "settings"

    GitHub | 9 months ago | kelson42
    java.lang.RuntimeException: Unable to start activity ComponentInfo{org.kiwix.kiwixcustomwikivoyage/org.kiwix.kiwixcustomwikivoyage.settings.KiwixSettingsActivity}: android.view.InflateException: Binary XML file line #8: Error inflating class org.kiwix.kiwixcustomwikivoyage.settings.SliderPreference
  2. 0

    Unable to add libraries. Built apk crashes with InflateException

    Stack Overflow | 2 years ago | monogon
    java.lang.RuntimeException: Unable to start activity ComponentInfo{com.lwptest.lwp/com.lwptest.lwp.myProductSettings}: android.view.InflateException: Binary XML file line #18: Error inflating class net.margaritov.preference.colorpicker.ColorPickerPreference
  3. 0

    Error inflating class RingtonePreference

    Stack Overflow | 2 years ago
    java.lang.RuntimeException: Unable to start activity ComponentInfo{org.crazyit.app/org.crazyit.app.PreferenceActivityTest}: android.view.InflateException: Binary XML file line #5: Error inflating class RingtongPreference
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Error when going into new activity Android

    Stack Overflow | 1 year ago | KamCho
    java.lang.RuntimeException: Unable to start activity ComponentInfo{com.stoper.moneystopwatch/com.stoper.moneystopwatch.Settings}: android.view.InflateException: Binary XML file line #1: Error inflating class RelativeLayout
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. java.lang.ClassNotFoundException

    Didn't find class "org.kiwix.kiwixcustomwikivoyage.settings.SliderPreference" on path: DexPathList[[zip file "/data/app/org.kiwix.kiwixcustomwikivoyage-1/base.apk"],nativeLibraryDirectories=[/data/app/org.kiwix.kiwixcustomwikivoyage-1/lib/x86, /data/app/org.kiwix.kiwixcustomwikivoyage-1/base.apk!/lib/x86, /vendor/lib, /system/lib]]

    at dalvik.system.BaseDexClassLoader.findClass()
  2. Android Platform
    BaseDexClassLoader.findClass
    1. dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:56)
    1 frame
  3. Java RT
    ClassLoader.loadClass
    1. java.lang.ClassLoader.loadClass(ClassLoader.java:511)
    2. java.lang.ClassLoader.loadClass(ClassLoader.java:469)
    2 frames
  4. Android Platform
    PreferenceFragment.addPreferencesFromResource
    1. android.preference.GenericInflater.createItem(GenericInflater.java:376)
    2. android.preference.GenericInflater.createItemFromTag(GenericInflater.java:432)
    3. android.preference.GenericInflater.rInflate(GenericInflater.java:483)
    4. android.preference.GenericInflater.rInflate(GenericInflater.java:495)
    5. android.preference.GenericInflater.inflate(GenericInflater.java:327)
    6. android.preference.GenericInflater.inflate(GenericInflater.java:264)
    7. android.preference.PreferenceManager.inflateFromResource(PreferenceManager.java:273)
    8. android.preference.PreferenceFragment.addPreferencesFromResource(PreferenceFragment.java:301)
    8 frames
  5. org.kiwix.kiwixcustomwikivoyage
    KiwixSettingsActivity$PrefsFragment.onCreate
    1. org.kiwix.kiwixcustomwikivoyage.settings.KiwixSettingsActivity$PrefsFragment.onCreate(KiwixSettingsActivity.java:87)
    1 frame
  6. Android Platform
    ActivityThread.main
    1. android.app.Fragment.performCreate(Fragment.java:2198)
    2. android.app.FragmentManagerImpl.moveToState(FragmentManager.java:942)
    3. android.app.FragmentManagerImpl.moveToState(FragmentManager.java:1148)
    4. android.app.BackStackRecord.run(BackStackRecord.java:793)
    5. android.app.FragmentManagerImpl.execPendingActions(FragmentManager.java:1535)
    6. android.app.FragmentController.execPendingActions(FragmentController.java:325)
    7. android.app.Activity.performStart(Activity.java:6267)
    8. android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2379)
    9. android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2476)
    10. android.app.ActivityThread.access$900(ActivityThread.java:150)
    11. android.app.ActivityThread$H.handleMessage(ActivityThread.java:1344)
    12. android.os.Handler.dispatchMessage(Handler.java:102)
    13. android.os.Looper.loop(Looper.java:148)
    14. android.app.ActivityThread.main(ActivityThread.java:5417)
    14 frames
  7. Java RT
    Method.invoke
    1. java.lang.reflect.Method.invoke(Native Method)
    1 frame
  8. Android
    ZygoteInit.main
    1. com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:726)
    2. com.android.internal.os.ZygoteInit.main(ZygoteInit.java:616)
    2 frames