java.lang.RuntimeException: Unable to start activity ComponentInfo{com.example.apekshit.materialdesign/com.example.apekshit.materialdesign.MainActivity}: android.view.InflateException: Binary XML file line #24: Error inflating class fragment

  1. 0

    Null Object Reference setAdapter

    Stack Overflow | 5 months ago | Apekshit Tewathia
    java.lang.RuntimeException: Unable to start activity ComponentInfo{com.example.apekshit.materialdesign/com.example.apekshit.materialdesign.MainActivity}: android.view.InflateException: Binary XML file line #24: Error inflating class fragment
  2. 0

    Unfortunately app has stopped in Android when try to implement RecylerView

    Stack Overflow | 1 year ago | Nadeesha Thilakarathne
    java.lang.RuntimeException: Unable to start activity ComponentInfo{com.thaalakaz.nadeesha.materialdesignapp1/com.thaalakaz.nadeesha.materialdesignapp1.MainActivity}: android.view.InflateException: Binary XML file line #24: Error inflating class fragment
  3. 0

    Failed to run app:Binary XML file line #24: Error inflating class fragment

    Stack Overflow | 1 year ago | Danny Gavrilov
    java.lang.RuntimeException: Unable to start activity ComponentInfo{com.example.dannygavrilov.materialtest/com.example.dannygavrilov.materialtest.MainActivity}: android.view.InflateException: Binary XML file line #24: Error inflating class fragment
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    InflateException when customize Navigation drawer

    Stack Overflow | 10 months ago | No Nameeee
    java.lang.RuntimeException: Unable to start activity ComponentInfo{com.myayubo/com.myayubo.MainActivity}: android.view.InflateException: Binary XML file line #24: Error inflating class fragment
  6. 0

    Cannot lock the Navigation Drawer by using mDrawerLayout.setDrawerLockMode(DrawerLayout.LOCK_MODE_LOCKED_OPEN)

    Stack Overflow | 7 months ago | Quality Products
    java.lang.RuntimeException: Unable to start activity ComponentInfo{com.myayubo/com.myayubo.MainActivity}: android.view.InflateException: Binary XML file line #24: Error inflating class fragment

  1. filpgame 4 times, last 1 week ago
  2. asvid 18 times, last 6 months ago
  3. Alexandru Popa 6 times, last 3 weeks ago
  4. Benny 42 times, last 4 months ago
  5. danleyb2Interintel 1 times, last 5 months ago
15 more registered users
48 unregistered visitors
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. android.view.InflateException

    Binary XML file line #24: Error inflating class fragment

    at android.view.LayoutInflater.createViewFromTag()
  2. Android Platform
    LayoutInflater.inflate
    1. android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:767)
    2. android.view.LayoutInflater.rInflate(LayoutInflater.java:810)
    3. android.view.LayoutInflater.rInflate(LayoutInflater.java:813)
    4. android.view.LayoutInflater.inflate(LayoutInflater.java:508)
    5. android.view.LayoutInflater.inflate(LayoutInflater.java:418)
    6. android.view.LayoutInflater.inflate(LayoutInflater.java:365)
    6 frames
  3. Android v7
    AppCompatActivity.setContentView
    1. android.support.v7.app.AppCompatDelegateImplV7.setContentView(AppCompatDelegateImplV7.java:280)
    2. android.support.v7.app.AppCompatActivity.setContentView(AppCompatActivity.java:140)
    2 frames
  4. com.example.apekshit
    MainActivity.onCreate
    1. com.example.apekshit.materialdesign.MainActivity.onCreate(MainActivity.java:15)
    1 frame
  5. Android Platform
    ActivityThread.performLaunchActivity
    1. android.app.Activity.performCreate(Activity.java:6041)
    2. android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1109)
    3. android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2283)
    3 frames