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

Stack Overflow | James Liang | 7 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

    cant show the result of rss feed with fragment

    Stack Overflow | 7 months ago | James Liang
    android.view.InflateException: Binary XML file line #47: Error inflating class ImageView
  2. 0

    Why would adding espresso-contrib cause an InflateException?

    Stack Overflow | 2 years ago | rosegrink
    android.view.InflateException: Binary XML file line #33: Error inflating class android.support.v7.widget.RecyclerView
  3. 0

    Forceclose occuring while opening the application

    Stack Overflow | 3 years ago | Kamalone
    android.view.InflateException: Binary XML file line #12: Error inflating class fragment
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    create listview on fragment custom drawer

    Stack Overflow | 2 years ago | Derry Susilo
    android.view.InflateException: Binary XML file line #7: Error inflating class fragment
  6. 0

    IncompatibleClassChangeError: android.support.design.internal.NavigationMenuView

    Stack Overflow | 1 year ago | ligi
    android.view.InflateException: Binary XML file line #28: Error inflating class android.support.design.widget.NavigationView
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 #47: 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.inflate(LayoutInflater.java:492)
    5. android.view.LayoutInflater.inflate(LayoutInflater.java:397)
    5 frames
  3. com.jdev.anonymous
    MyAdapter.onCreateViewHolder
    1. com.jdev.anonymous.hahaapp.MyAdapter.onCreateViewHolder(MyAdapter.java:29)
    2. com.jdev.anonymous.hahaapp.MyAdapter.onCreateViewHolder(MyAdapter.java:20)
    2 frames
  4. Android v7
    RecyclerView.onMeasure
    1. android.support.v7.widget.RecyclerView$Adapter.createViewHolder(RecyclerView.java:5482)
    2. android.support.v7.widget.RecyclerView$Recycler.getViewForPosition(RecyclerView.java:4707)
    3. android.support.v7.widget.RecyclerView$Recycler.getViewForPosition(RecyclerView.java:4617)
    4. android.support.v7.widget.LinearLayoutManager$LayoutState.next(LinearLayoutManager.java:1994)
    5. android.support.v7.widget.LinearLayoutManager.layoutChunk(LinearLayoutManager.java:1390)
    6. android.support.v7.widget.LinearLayoutManager.fill(LinearLayoutManager.java:1353)
    7. android.support.v7.widget.LinearLayoutManager.onLayoutChildren(LinearLayoutManager.java:574)
    8. android.support.v7.widget.RecyclerView.dispatchLayoutStep2(RecyclerView.java:3028)
    9. android.support.v7.widget.RecyclerView.onMeasure(RecyclerView.java:2625)
    9 frames
  5. Android Platform
    ViewGroup.measureChildWithMargins
    1. android.view.View.measure(View.java:16497)
    2. android.widget.RelativeLayout.measureChildHorizontal(RelativeLayout.java:719)
    3. android.widget.RelativeLayout.onMeasure(RelativeLayout.java:455)
    4. android.view.View.measure(View.java:16497)
    5. android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:5125)
    6. android.widget.FrameLayout.onMeasure(FrameLayout.java:310)
    7. android.view.View.measure(View.java:16497)
    8. android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:5125)
    9. android.widget.FrameLayout.onMeasure(FrameLayout.java:310)
    10. android.view.View.measure(View.java:16497)
    11. android.widget.ScrollView.measureChildWithMargins(ScrollView.java:1226)
    12. android.widget.FrameLayout.onMeasure(FrameLayout.java:310)
    13. android.widget.ScrollView.onMeasure(ScrollView.java:326)
    14. android.view.View.measure(View.java:16497)
    15. android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:5125)
    15 frames
  6. 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
  7. Android Platform
    View.measure
    1. android.view.View.measure(View.java:16497)
    1 frame
  8. Android Support v4
    DrawerLayout.onMeasure
    1. android.support.v4.widget.DrawerLayout.onMeasure(DrawerLayout.java:1075)
    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)
    3 frames
  10. Android v7
    ContentFrameLayout.onMeasure
    1. android.support.v7.widget.ContentFrameLayout.onMeasure(ContentFrameLayout.java:135)
    1 frame
  11. Android Platform
    LinearLayout.onMeasure
    1. android.view.View.measure(View.java:16497)
    2. android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:5125)
    3. android.widget.LinearLayout.measureChildBeforeLayout(LinearLayout.java:1404)
    4. android.widget.LinearLayout.measureVertical(LinearLayout.java:695)
    5. android.widget.LinearLayout.onMeasure(LinearLayout.java:588)
    6. android.view.View.measure(View.java:16497)
    7. android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:5125)
    8. android.widget.FrameLayout.onMeasure(FrameLayout.java:310)
    9. android.view.View.measure(View.java:16497)
    10. android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:5125)
    11. android.widget.LinearLayout.measureChildBeforeLayout(LinearLayout.java:1404)
    12. android.widget.LinearLayout.measureVertical(LinearLayout.java:695)
    13. android.widget.LinearLayout.onMeasure(LinearLayout.java:588)
    13 frames