android.view.InflateException: Binary XML file line #57: Error inflating class ImageView

GitHub | dyckster | 2 months ago
tip
Do you find the tips below useful? Click on the to mark them and say thanks to poroszd . Or join the community to write better ones.
  1. 0

    GitHub comment 1673#269076695

    GitHub | 3 months ago | bbetter
    android.view.InflateException: Binary XML file line #33: Error inflating class ImageView
  2. 0

    Crash on API 19 when using different Objects that extend AbstractItem to fill FastAdapter

    GitHub | 2 months ago | dyckster
    android.view.InflateException: Binary XML file line #57: Error inflating class ImageView
  3. 0

    Custom compound view throws "Error inflating class"

    Stack Overflow | 5 months ago | RedGiant
    android.view.InflateException: Binary XML file line #63: Error inflating class com.button.LinkUI
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0
    samebug tip
    Your xml configuration is invalid. Check it with an xml validator.
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 #57: Error inflating class ImageView

    at android.view.LayoutInflater.createViewFromTag()
  2. Android Platform
    LayoutInflater.inflate
    1. android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:714)
    2. android.view.LayoutInflater.rInflate(LayoutInflater.java:756)
    3. android.view.LayoutInflater.rInflate(LayoutInflater.java:759)
    4. android.view.LayoutInflater.rInflate(LayoutInflater.java:759)
    5. android.view.LayoutInflater.rInflate(LayoutInflater.java:759)
    6. android.view.LayoutInflater.inflate(LayoutInflater.java:492)
    7. android.view.LayoutInflater.inflate(LayoutInflater.java:397)
    7 frames
  3. com.mikepenz.fastadapter
    FastAdapter.onCreateViewHolder
    1. com.mikepenz.fastadapter.items.AbstractItem.getViewHolder(AbstractItem.java:234)
    2. com.mikepenz.fastadapter.FastAdapter$OnCreateViewHolderListenerImpl.onPreCreateViewHolder(FastAdapter.java:1690)
    3. com.mikepenz.fastadapter.FastAdapter.onCreateViewHolder(FastAdapter.java:396)
    3 frames
  4. Android v7
    RecyclerView.onLayout
    1. android.support.v7.widget.RecyclerView$Adapter.createViewHolder(RecyclerView.java:6290)
    2. android.support.v7.widget.RecyclerView$Recycler.tryGetViewHolderForPositionByDeadline(RecyclerView.java:5478)
    3. android.support.v7.widget.RecyclerView$Recycler.getViewForPosition(RecyclerView.java:5363)
    4. android.support.v7.widget.RecyclerView$Recycler.getViewForPosition(RecyclerView.java:5359)
    5. android.support.v7.widget.LinearLayoutManager$LayoutState.next(LinearLayoutManager.java:2141)
    6. android.support.v7.widget.LinearLayoutManager.layoutChunk(LinearLayoutManager.java:1525)
    7. android.support.v7.widget.LinearLayoutManager.fill(LinearLayoutManager.java:1488)
    8. android.support.v7.widget.LinearLayoutManager.onLayoutChildren(LinearLayoutManager.java:585)
    9. android.support.v7.widget.RecyclerView.dispatchLayoutStep2(RecyclerView.java:3506)
    10. android.support.v7.widget.RecyclerView.dispatchLayout(RecyclerView.java:3254)
    11. android.support.v7.widget.RecyclerView.onLayout(RecyclerView.java:3767)
    11 frames
  5. Android Platform
    ViewGroup.layout
    1. android.view.View.layout(View.java:14817)
    2. android.view.ViewGroup.layout(ViewGroup.java:4631)
    3. android.widget.LinearLayout.setChildFrame(LinearLayout.java:1671)
    4. android.widget.LinearLayout.layoutVertical(LinearLayout.java:1525)
    5. android.widget.LinearLayout.onLayout(LinearLayout.java:1434)
    6. android.view.View.layout(View.java:14817)
    7. android.view.ViewGroup.layout(ViewGroup.java:4631)
    7 frames
  6. Android Support v4
    DrawerLayout.onLayout
    1. android.support.v4.widget.DrawerLayout.onLayout(DrawerLayout.java:1193)
    1 frame
  7. Android Platform
    ViewRootImpl$TraversalRunnable.run
    1. android.view.View.layout(View.java:14817)
    2. android.view.ViewGroup.layout(ViewGroup.java:4631)
    3. android.widget.FrameLayout.layoutChildren(FrameLayout.java:453)
    4. android.widget.FrameLayout.onLayout(FrameLayout.java:388)
    5. android.view.View.layout(View.java:14817)
    6. android.view.ViewGroup.layout(ViewGroup.java:4631)
    7. android.widget.LinearLayout.setChildFrame(LinearLayout.java:1671)
    8. android.widget.LinearLayout.layoutVertical(LinearLayout.java:1525)
    9. android.widget.LinearLayout.onLayout(LinearLayout.java:1434)
    10. android.view.View.layout(View.java:14817)
    11. android.view.ViewGroup.layout(ViewGroup.java:4631)
    12. android.widget.FrameLayout.layoutChildren(FrameLayout.java:453)
    13. android.widget.FrameLayout.onLayout(FrameLayout.java:388)
    14. android.view.View.layout(View.java:14817)
    15. android.view.ViewGroup.layout(ViewGroup.java:4631)
    16. android.widget.LinearLayout.setChildFrame(LinearLayout.java:1671)
    17. android.widget.LinearLayout.layoutVertical(LinearLayout.java:1525)
    18. android.widget.LinearLayout.onLayout(LinearLayout.java:1434)
    19. android.view.View.layout(View.java:14817)
    20. android.view.ViewGroup.layout(ViewGroup.java:4631)
    21. android.widget.FrameLayout.layoutChildren(FrameLayout.java:453)
    22. android.widget.FrameLayout.onLayout(FrameLayout.java:388)
    23. android.view.View.layout(View.java:14817)
    24. android.view.ViewGroup.layout(ViewGroup.java:4631)
    25. android.view.ViewRootImpl.performLayout(ViewRootImpl.java:1987)
    26. android.view.ViewRootImpl.performTraversals(ViewRootImpl.java:1744)
    27. android.view.ViewRootImpl.doTraversal(ViewRootImpl.java:1000)
    28. android.view.ViewRootImpl$TraversalRunnable.run(ViewRootImpl.java:5670)
    28 frames