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


Solutions on the web

Solution icon of github
Binary XML file line #57: Error inflating class ImageView

Solution icon of github
via GitHub by chaitanya-exp
, 4 months ago
Binary XML file line #7: Error inflating class ImageView

Solution icon of github
Binary XML file line #27: Error inflating class ImageView

Solution icon of stackoverflow
Binary XML file line #7: Error inflating class imageview

Solution icon of stackoverflow
via Stack Overflow by Average Joe
, 1 year ago
Binary XML file line #21: Error inflating class Imageview

Solution icon of stackoverflow
Binary XML file line #8: Error inflating class imageView

Solution icon of stackoverflow
Binary XML file line #11: Error inflating class ImageView

Solution icon of stackoverflow
Binary XML file line #17: Error inflating class ImageView

Solution icon of stackoverflow
Binary XML file line #103: Error inflating class ImageView

Solution icon of stackoverflow
via Stack Overflow by Muhammad Noamany
, 3 months ago
Binary XML file line #10: Error inflating class ImageView

Stack trace

android.view.InflateException: Binary XML file line #57: Error inflating class ImageView
	at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:714)
	at android.view.LayoutInflater.rInflate(LayoutInflater.java:756)
	at android.view.LayoutInflater.rInflate(LayoutInflater.java:759)
	at android.view.LayoutInflater.rInflate(LayoutInflater.java:759)
	at android.view.LayoutInflater.rInflate(LayoutInflater.java:759)
	at android.view.LayoutInflater.inflate(LayoutInflater.java:492)
	at android.view.LayoutInflater.inflate(LayoutInflater.java:397)
	at com.mikepenz.fastadapter.items.AbstractItem.getViewHolder(AbstractItem.java:234)
	at com.mikepenz.fastadapter.FastAdapter$OnCreateViewHolderListenerImpl.onPreCreateViewHolder(FastAdapter.java:1690)
	at com.mikepenz.fastadapter.FastAdapter.onCreateViewHolder(FastAdapter.java:396)
	at android.support.v7.widget.RecyclerView$Adapter.createViewHolder(RecyclerView.java:6290)
	at android.support.v7.widget.RecyclerView$Recycler.tryGetViewHolderForPositionByDeadline(RecyclerView.java:5478)
	at android.support.v7.widget.RecyclerView$Recycler.getViewForPosition(RecyclerView.java:5363)
	at android.support.v7.widget.RecyclerView$Recycler.getViewForPosition(RecyclerView.java:5359)
	at android.support.v7.widget.LinearLayoutManager$LayoutState.next(LinearLayoutManager.java:2141)
	at android.support.v7.widget.LinearLayoutManager.layoutChunk(LinearLayoutManager.java:1525)
	at android.support.v7.widget.LinearLayoutManager.fill(LinearLayoutManager.java:1488)
	at android.support.v7.widget.LinearLayoutManager.onLayoutChildren(LinearLayoutManager.java:585)
	at android.support.v7.widget.RecyclerView.dispatchLayoutStep2(RecyclerView.java:3506)
	at android.support.v7.widget.RecyclerView.dispatchLayout(RecyclerView.java:3254)
	at android.support.v7.widget.RecyclerView.onLayout(RecyclerView.java:3767)
	at android.view.View.layout(View.java:14817)
	at android.view.ViewGroup.layout(ViewGroup.java:4631)
	at android.widget.LinearLayout.setChildFrame(LinearLayout.java:1671)
	at android.widget.LinearLayout.layoutVertical(LinearLayout.java:1525)
	at android.widget.LinearLayout.onLayout(LinearLayout.java:1434)
	at android.view.View.layout(View.java:14817)
	at android.view.ViewGroup.layout(ViewGroup.java:4631)
	at android.support.v4.widget.DrawerLayout.onLayout(DrawerLayout.java:1193)
	at android.view.View.layout(View.java:14817)
	at android.view.ViewGroup.layout(ViewGroup.java:4631)
	at android.widget.FrameLayout.layoutChildren(FrameLayout.java:453)
	at android.widget.FrameLayout.onLayout(FrameLayout.java:388)
	at android.view.View.layout(View.java:14817)
	at android.view.ViewGroup.layout(ViewGroup.java:4631)
	at android.widget.LinearLayout.setChildFrame(LinearLayout.java:1671)
	at android.widget.LinearLayout.layoutVertical(LinearLayout.java:1525)
	at android.widget.LinearLayout.onLayout(LinearLayout.java:1434)
	at android.view.View.layout(View.java:14817)
	at android.view.ViewGroup.layout(ViewGroup.java:4631)
	at android.widget.FrameLayout.layoutChildren(FrameLayout.java:453)
	at android.widget.FrameLayout.onLayout(FrameLayout.java:388)
	at android.view.View.layout(View.java:14817)
	at android.view.ViewGroup.layout(ViewGroup.java:4631)
	at android.widget.LinearLayout.setChildFrame(LinearLayout.java:1671)
	at android.widget.LinearLayout.layoutVertical(LinearLayout.java:1525)
	at android.widget.LinearLayout.onLayout(LinearLayout.java:1434)
	at android.view.View.layout(View.java:14817)
	at android.view.ViewGroup.layout(ViewGroup.java:4631)
	at android.widget.FrameLayout.layoutChildren(FrameLayout.java:453)
	at android.widget.FrameLayout.onLayout(FrameLayout.java:388)
	at android.view.View.layout(View.java:14817)
	at android.view.ViewGroup.layout(ViewGroup.java:4631)
	at android.view.ViewRootImpl.performLayout(ViewRootImpl.java:1987)
	at android.view.ViewRootImpl.performTraversals(ViewRootImpl.java:1744)
	at android.view.ViewRootImpl.doTraversal(ViewRootImpl.java:1000)
	at android.view.ViewRootImpl$TraversalRunnable.run(ViewRootImpl.java:5670)

Write tip

You have a different solution? A short tip here would help you and many other users who saw this issue last week.

Users with the same issue

2 times, 2 weeks ago
2 times, 1 month ago
Once, 5 months ago
Samebug visitor profile picture
Unknown user
Once, 6 months ago
3 times, 6 months ago
63 more bugmates