android.view.InflateException: Binary XML file line #1: Error inflating class <unknown>

GitHub | Vulneraria | 6 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

    android.view.InflateException: Binary XML file line #1: Error inflating class <unknown>

    GitHub | 6 months ago | Vulneraria
    android.view.InflateException: Binary XML file line #1: Error inflating class <unknown>
  2. 0

    Bug showing list dialog

    GitHub | 3 months ago | carboleda
    android.view.InflateException: Binary XML file line #1: Error inflating class <unknown>
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    Crash when changing activity android.view.InflateException: Binary XML file line #1: Error inflating class <unknown>

    Stack Overflow | 12 months ago | N.Jordan
    java.lang.RuntimeException: Unable to start activity ComponentInfo{com.acer.thewatcher/com.acer.thewatcher.configuration}: android.view.InflateException: Binary XML file line #1: Error inflating class <unknown>
  5. 0

    InflateException only on Android 4.X

    Stack Overflow | 5 months ago | Zack Bogdan
    android.view.InflateException: Binary XML file line #1: Error inflating class <unknown>
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 #1: Error inflating class <unknown>

    at android.view.LayoutInflater.createView()
  2. Android Platform
    LayoutInflater.createView
    1. android.view.LayoutInflater.createView(LayoutInflater.java:621)
    1 frame
  3. Android
    PhoneLayoutInflater.onCreateView
    1. com.android.internal.policy.impl.PhoneLayoutInflater.onCreateView(PhoneLayoutInflater.java:56)
    1 frame
  4. Android Platform
    LayoutInflater.inflate
    1. android.view.LayoutInflater.onCreateView(LayoutInflater.java:670)
    2. android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:695)
    3. android.view.LayoutInflater.inflate(LayoutInflater.java:469)
    4. android.view.LayoutInflater.inflate(LayoutInflater.java:397)
    4 frames
  5. com.afollestad.materialdialogs
    DefaultRvAdapter.onCreateViewHolder
    1. com.afollestad.materialdialogs.DefaultRvAdapter.onCreateViewHolder(DefaultRvAdapter.java:50)
    2. com.afollestad.materialdialogs.DefaultRvAdapter.onCreateViewHolder(DefaultRvAdapter.java:25)
    2 frames
  6. Android v7
    RecyclerView.onMeasure
    1. android.support.v7.widget.RecyclerView$Adapter.createViewHolder(RecyclerView.java:5779)
    2. android.support.v7.widget.RecyclerView$Recycler.getViewForPosition(RecyclerView.java:5003)
    3. android.support.v7.widget.RecyclerView$Recycler.getViewForPosition(RecyclerView.java:4913)
    4. android.support.v7.widget.LinearLayoutManager$LayoutState.next(LinearLayoutManager.java:2029)
    5. android.support.v7.widget.LinearLayoutManager.layoutChunk(LinearLayoutManager.java:1414)
    6. android.support.v7.widget.LinearLayoutManager.fill(LinearLayoutManager.java:1377)
    7. android.support.v7.widget.LinearLayoutManager.onLayoutChildren(LinearLayoutManager.java:578)
    8. android.support.v7.widget.RecyclerView.dispatchLayoutStep2(RecyclerView.java:3260)
    9. android.support.v7.widget.RecyclerView.onMeasure(RecyclerView.java:2788)
    9 frames
  7. Android Platform
    View.measure
    1. android.view.View.measure(View.java:16497)
    2. android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:5125)
    3. android.widget.FrameLayout.onMeasure(FrameLayout.java:310)
    4. android.view.View.measure(View.java:16497)
    5. android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:5125)
    6. android.widget.LinearLayout.measureChildBeforeLayout(LinearLayout.java:1404)
    7. android.widget.LinearLayout.measureVertical(LinearLayout.java:695)
    8. android.widget.LinearLayout.onMeasure(LinearLayout.java:588)
    9. android.view.View.measure(View.java:16497)
    9 frames
  8. com.afollestad.materialdialogs
    MDRootLayout.onMeasure
    1. com.afollestad.materialdialogs.internal.MDRootLayout.onMeasure(MDRootLayout.java:203)
    1 frame
  9. Android Platform
    FrameLayout.onMeasure
    1. android.view.View.measure(View.java:16497)
    2. android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:5125)
    3. android.widget.FrameLayout.onMeasure(FrameLayout.java:310)
    4. android.view.View.measure(View.java:16497)
    5. android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:5125)
    6. android.widget.LinearLayout.measureChildBeforeLayout(LinearLayout.java:1404)
    7. android.widget.LinearLayout.measureVertical(LinearLayout.java:695)
    8. android.widget.LinearLayout.onMeasure(LinearLayout.java:588)
    9. android.view.View.measure(View.java:16497)
    10. android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:5125)
    11. android.widget.FrameLayout.onMeasure(FrameLayout.java:310)
    11 frames
  10. Android
    PhoneWindow$DecorView.onMeasure
    1. com.android.internal.policy.impl.PhoneWindow$DecorView.onMeasure(PhoneWindow.java:2291)
    1 frame
  11. Android Platform
    ActivityThread.main
    1. android.view.View.measure(View.java:16497)
    2. android.view.ViewRootImpl.performMeasure(ViewRootImpl.java:1916)
    3. android.view.ViewRootImpl.measureHierarchy(ViewRootImpl.java:1088)
    4. android.view.ViewRootImpl.performTraversals(ViewRootImpl.java:1295)
    5. android.view.ViewRootImpl.doTraversal(ViewRootImpl.java:1000)
    6. android.view.ViewRootImpl$TraversalRunnable.run(ViewRootImpl.java:5670)
    7. android.view.Choreographer$CallbackRecord.run(Choreographer.java:761)
    8. android.view.Choreographer.doCallbacks(Choreographer.java:574)
    9. android.view.Choreographer.doFrame(Choreographer.java:544)
    10. android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:747)
    11. android.os.Handler.handleCallback(Handler.java:733)
    12. android.os.Handler.dispatchMessage(Handler.java:95)
    13. android.os.Looper.loop(Looper.java:136)
    14. android.app.ActivityThread.main(ActivityThread.java:5017)
    14 frames
  12. Java RT
    Method.invokeNative
    1. java.lang.reflect.Method.invokeNative(Native Method)
    1 frame