roid.view.InflateException: Binary XML file line #128: Error inflating class ImageView

Stack Overflow | remy boys | 10 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

    error while inflating class IamgeView

    Stack Overflow | 10 months ago | remy boys
    roid.view.InflateException: Binary XML file line #128: Error inflating class ImageView

    Root Cause Analysis

    1. roid.view.InflateException

      Binary XML file line #128: 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.rInflate(LayoutInflater.java:759)
      7. android.view.LayoutInflater.inflate(LayoutInflater.java:492)
      8. android.view.LayoutInflater.inflate(LayoutInflater.java:397)
      8 frames
    3. pb.myPackage
      FeedFragment$3.onCreateViewHolderImpl
      1. pb.myPackage.FeedFragment$3.onCreateViewHolderImpl(FeedFragment.java:689)
      1 frame
    4. com.poliveira.parallaxrecyclerview
      ParallaxRecyclerAdapter.onCreateViewHolder
      1. com.poliveira.parallaxrecyclerview.ParallaxRecyclerAdapter.onCreateViewHolder(ParallaxRecyclerAdapter.java:132)
      1 frame
    5. Android v7
      RecyclerView.onLayout
      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.dispatchLayout(RecyclerView.java:2906)
      10. android.support.v7.widget.RecyclerView.onLayout(RecyclerView.java:3283)
      10 frames
    6. Android Platform
      ViewGroup.layout
      1. android.view.View.layout(View.java:14817)
      2. android.view.ViewGroup.layout(ViewGroup.java:4631)
      2 frames
    7. Android Support v4
      SwipeRefreshLayout.onLayout
      1. android.support.v4.widget.SwipeRefreshLayout.onLayout(SwipeRefreshLayout.java:596)
      1 frame
    8. Android Platform
      ViewGroup.layout
      1. android.view.View.layout(View.java:14817)
      2. android.view.ViewGroup.layout(ViewGroup.java:4631)
      3. android.widget.RelativeLayout.onLayout(RelativeLayout.java:1055)
      4. android.view.View.layout(View.java:14817)
      5. android.view.ViewGroup.layout(ViewGroup.java:4631)
      5 frames
    9. Android Support v4
      ViewPager.onLayout
      1. android.support.v4.view.ViewPager.onLayout(ViewPager.java:1695)
      1 frame
    10. 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)
      8. android.widget.RelativeLayout.onLayout(RelativeLayout.java:1055)
      9. android.view.View.layout(View.java:14817)
      10. android.view.ViewGroup.layout(ViewGroup.java:4631)
      10 frames
    11. android.support.design
      CoordinatorLayout.onLayout
      1. android.support.design.widget.CoordinatorLayout.layoutChild(CoordinatorLayout.java:1091)
      2. android.support.design.widget.CoordinatorLayout.onLayoutChild(CoordinatorLayout.java:801)
      3. android.support.design.widget.CoordinatorLayout.onLayout(CoordinatorLayout.java:815)
      3 frames
    12. Android Platform
      ViewGroup.layout
      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)
      15 frames