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

Stack Overflow | Márcio Eric | 8 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

    InflateException android studio

    Stack Overflow | 8 months ago | Márcio Eric
    android.view.InflateException: Binary XML file line #13: Binary XML file line #13: Error inflating class <unknown>
  2. 0

    Android Development, error with setcontentview code

    Stack Overflow | 9 months ago | hwhong
    android.view.InflateException: Binary XML file line #24: Binary XML file line # 2: Error inflating class android.widget.RelativeLayout at android.app.ActivityThread.performLaunchActivity(ActivityThread.java: 2416) at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java: 2476) at android.app.ActivityThread. - wrap11(ActivityThread.java) at android.app.ActivityThread$H.handleMessage(ActivityThread.java: 1344) at android.os.Handler.dispatchMessage(Handler.java: 102) at android.os.Looper.loop(Looper.java: 148) at android.app.ActivityThread.main(ActivityThread.java: 5417)
  3. 0

    Error inflating class fragment While testing out fragment Activity

    Stack Overflow | 8 months ago | Chief Madog
    android.view.InflateException: Binary XML file line #19: Binary XML file line # 19: Error inflating class fragment at android.app.ActivityThread.performLaunchActivity(ActivityThread.java: 3253) at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java: 3349) at android.app.ActivityThread.access$1100(ActivityThread.java: 221) at android.app.ActivityThread$H.handleMessage(ActivityThread.java: 1794) at android.os.Handler.dispatchMessage(Handler.java: 102) at android.os.Looper.loop(Looper.java: 158) at android.app.ActivityThread.main(ActivityThread.java: 7224)
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. android.view.InflateException

      Binary XML file line #13: Binary XML file line #13: Error inflating class <unknown>

      at android.view.LayoutInflater.inflate()
    2. Android Platform
      ViewGroup.measureChildWithMargins
      1. android.view.LayoutInflater.inflate(LayoutInflater.java:539)
      2. android.view.LayoutInflater.inflate(LayoutInflater.java:423)
      3. android.widget.SimpleAdapter.createViewFromResource(SimpleAdapter.java:128)
      4. android.widget.SimpleAdapter.getView(SimpleAdapter.java:121)
      5. android.widget.AbsListView.obtainView(AbsListView.java:2346)
      6. android.widget.ListView.measureHeightOfChildren(ListView.java:1280)
      7. android.widget.ListView.onMeasure(ListView.java:1188)
      8. android.view.View.measure(View.java:18788)
      9. android.widget.RelativeLayout.measureChildHorizontal(RelativeLayout.java:715)
      10. android.widget.RelativeLayout.onMeasure(RelativeLayout.java:461)
      11. android.view.View.measure(View.java:18788)
      12. android.widget.RelativeLayout.measureChildHorizontal(RelativeLayout.java:715)
      13. android.widget.RelativeLayout.onMeasure(RelativeLayout.java:461)
      14. android.view.View.measure(View.java:18788)
      15. android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:5951)
      15 frames
    3. android.support.design
      CoordinatorLayout.onMeasure
      1. android.support.design.widget.CoordinatorLayout.onMeasureChild(CoordinatorLayout.java:668)
      2. android.support.design.widget.HeaderScrollingViewBehavior.onMeasureChild(HeaderScrollingViewBehavior.java:90)
      3. android.support.design.widget.AppBarLayout$ScrollingViewBehavior.onMeasureChild(AppBarLayout.java:1170)
      4. android.support.design.widget.CoordinatorLayout.onMeasure(CoordinatorLayout.java:733)
      4 frames
    4. Android Platform
      View.measure
      1. android.view.View.measure(View.java:18788)
      1 frame
    5. Android Support v4
      DrawerLayout.onMeasure
      1. android.support.v4.widget.DrawerLayout.onMeasure(DrawerLayout.java:1075)
      1 frame
    6. Android Platform
      FrameLayout.onMeasure
      1. android.view.View.measure(View.java:18788)
      2. android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:5951)
      3. android.widget.FrameLayout.onMeasure(FrameLayout.java:194)
      3 frames
    7. Android v7
      ContentFrameLayout.onMeasure
      1. android.support.v7.widget.ContentFrameLayout.onMeasure(ContentFrameLayout.java:135)
      1 frame
    8. Android Platform
      FrameLayout.onMeasure
      1. android.view.View.measure(View.java:18788)
      2. android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:5951)
      3. android.widget.LinearLayout.measureChildBeforeLayout(LinearLayout.java:1465)
      4. android.widget.LinearLayout.measureVertical(LinearLayout.java:748)
      5. android.widget.LinearLayout.onMeasure(LinearLayout.java:630)
      6. android.view.View.measure(View.java:18788)
      7. android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:5951)
      8. android.widget.FrameLayout.onMeasure(FrameLayout.java:194)
      9. android.view.View.measure(View.java:18788)
      10. android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:5951)
      11. android.widget.LinearLayout.measureChildBeforeLayout(LinearLayout.java:1465)
      12. android.widget.LinearLayout.measureVertical(LinearLayout.java:748)
      13. android.widget.LinearLayout.onMeasure(LinearLayout.java:630)
      14. android.view.View.measure(View.java:18788)
      15. android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:5951)
      16. android.widget.FrameLayout.onMeasure(FrameLayout.java:194)
      16 frames
    9. Android
      PhoneWindow$DecorView.onMeasure
      1. com.android.internal.policy.PhoneWindow$DecorView.onMeasure(PhoneWindow.java:2643)
      1 frame
    10. Android Platform
      ActivityThread.main
      1. android.view.View.measure(View.java:18788)
      2. android.view.ViewRootImpl.performMeasure(ViewRootImpl.java:2100)
      3. android.view.ViewRootImpl.measureHierarchy(ViewRootImpl.java:1216)
      4. android.view.ViewRootImpl.performTraversals(ViewRootImpl.java:1452)
      5. android.view.ViewRootImpl.doTraversal(ViewRootImpl.java:1107)
      6. android.view.ViewRootImpl$TraversalRunnable.run(ViewRootImpl.java:6013)
      7. android.view.Choreographer$CallbackRecord.run(Choreographer.java:858)
      8. android.view.Choreographer.doCallbacks(Choreographer.java:670)
      9. android.view.Choreographer.doFrame(Choreographer.java:606)
      10. android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:844)
      11. android.os.Handler.handleCallback(Handler.java:739)
      12. android.os.Handler.dispatchMessage(Handler.java:95)
      13. android.os.Looper.loop(Looper.java:148)
      14. android.app.ActivityThread.main(ActivityThread.java:5417)
      14 frames
    11. Java RT
      Method.invoke
      1. java.lang.reflect.Method.invoke(Native Method)
      1 frame