java.lang.RuntimeException: Unable to start activity ComponentInfo{org.example.project/org.example.project.ActivityMain}: android.view.InflateException: Binary XML file line #12: Error inflating class android.support.v7.preference.PreferenceCategory

Stack Overflow | user6694745 | 4 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Crash program when using google play service api for accessing google map

    Stack Overflow | 3 years ago | user3730885
    java.lang.RuntimeException: Unable to start activity ComponentInfo{com.example.trymap2/com.example.trymap2.MainActivity}: android.view.InflateException: Binary XML file line #6: Error inflating class fragment
  2. 0

    Google map v2 application Show error

    Stack Overflow | 3 years ago | user3703052
    java.lang.RuntimeException: Unable to start activity ComponentInfo{com.example.please/com.example.please.MainActivity}: android.view.InflateException: Binary XML file line #3: Error inflating class fragment
  3. 0

    Vectors throwing Resources$NotFoundException after updating support library from 23.v to 24.v

    Stack Overflow | 7 months ago | Shivansh
    java.lang.RuntimeException: Unable to start activity ComponentInfo{...MainActivity}: android.view.InflateException: Binary XML file line #54: Error inflating class ...BlaView
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    0.9.1 with ProGuard: InflateException

    GitHub | 9 months ago | dirkam
    java.lang.RuntimeException: Unable to start activity ComponentInfo{.SettingsActivity}: android.view.InflateException: Binary XML file line #13: Error inflating class ListPreference
  6. 0

    Error inflating class EditText in Android Tablet version 4.4.2

    Stack Overflow | 6 months ago | Kapil Rajput
    java.lang.RuntimeException: Unable to start activity ComponentInfo{}: android.view.InflateException: Binary XML file line #38: Error inflating class EditText android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2195)
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.NoSuchMethodException

    <init> [class android.content.Context, interface android.util.AttributeSet]

    at java.lang.Class.getConstructorOrMethod()
  2. Java RT
    Class.getConstructor
    1. java.lang.Class.getConstructorOrMethod(Class.java:460)
    2. java.lang.Class.getConstructor(Class.java:431)
    2 frames
  3. android.support.v7
    h.b
    1. android.support.v7.preference.g.a(Unknown Source)
    2. android.support.v7.preference.g.a(Unknown Source)
    3. android.support.v7.preference.g.a(Unknown Source)
    4. android.support.v7.preference.g.a(Unknown Source)
    5. android.support.v7.preference.g.a(Unknown Source)
    6. android.support.v7.preference.h.a(Unknown Source)
    7. android.support.v7.preference.h.b(Unknown Source)
    7 frames
  4. org.exampple.project
    ActivityMain.onCreate
    1. org.exampple.project.ActivityMain.onCreate(Unknown Source)
    1 frame
  5. Android Platform
    ActivityThread.main
    1. android.app.Activity.performCreate(Activity.java:5206)
    2. android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1094)
    3. android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2074)
    4. android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2135)
    5. android.app.ActivityThread.access$700(ActivityThread.java:140)
    6. android.app.ActivityThread$H.handleMessage(ActivityThread.java:1237)
    7. android.os.Handler.dispatchMessage(Handler.java:99)
    8. android.os.Looper.loop(Looper.java:137)
    9. android.app.ActivityThread.main(ActivityThread.java:4921)
    9 frames
  6. Java RT
    Method.invoke
    1. java.lang.reflect.Method.invokeNative(Native Method)
    2. java.lang.reflect.Method.invoke(Method.java:511)
    2 frames
  7. Android
    ZygoteInit.main
    1. com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1027)
    2. com.android.internal.os.ZygoteInit.main(ZygoteInit.java:794)
    2 frames
  8. Android Platform
    NativeStart.main
    1. dalvik.system.NativeStart.main(Native Method)
    1 frame