android.view.InflateException

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

Samebug tips0

We couldn't find tips for this exception.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web628

  • via GitHub by ladia12
    ,
  • Stack trace

    • android.view.InflateException: Binary XML file line #16: Error inflating class <unknown> at android.view.LayoutInflater.createView(LayoutInflater.java:669) at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:745) at android.view.LayoutInflater.rInflate(LayoutInflater.java:804) at android.view.LayoutInflater.rInflate(LayoutInflater.java:812) at android.view.LayoutInflater.inflate(LayoutInflater.java:526) at android.view.LayoutInflater.inflate(LayoutInflater.java:426) at com.sailvan.dealsale.SearchListActivity$MyAdapter.onCreateViewHolder(SearchListActivity.java:741) at android.support.v7.widget.RecyclerView$Adapter.createViewHolder(RecyclerView.java:4385) at android.support.v7.widget.RecyclerView$Recycler.getViewForPosition(RecyclerView.java:3700) at android.support.v7.widget.RecyclerView$Recycler.getViewForPosition(RecyclerView.java:3609) at android.support.v7.widget.LayoutState.next(LayoutState.java:83) at android.support.v7.widget.StaggeredGridLayoutManager.fill(StaggeredGridLayoutManager.java:1380) at android.support.v7.widget.StaggeredGridLayoutManager.onLayoutChildren(StaggeredGridLayoutManager.java:585) at android.support.v7.widget.RecyclerView.dispatchLayout(RecyclerView.java:2118) at android.support.v7.widget.RecyclerView.onLayout(RecyclerView.java:2415) at android.view.View.layout(View.java:15213) at android.view.ViewGroup.layout(ViewGroup.java:4793) at android.widget.LinearLayout.setChildFrame(LinearLayout.java:1677) at android.widget.LinearLayout.layoutVertical(LinearLayout.java:1531) at android.widget.LinearLayout.onLayout(LinearLayout.java:1440) at com.sailvan.dealsale.customcontrols.RefreshableView.onLayout(RefreshableView.java:228) at android.view.View.layout(View.java:15213) at android.view.ViewGroup.layout(ViewGroup.java:4793) at android.widget.LinearLayout.setChildFrame(LinearLayout.java:1677) at android.widget.LinearLayout.layoutVertical(LinearLayout.java:1531) at android.widget.LinearLayout.onLayout(LinearLayout.java:1440) at android.view.View.layout(View.java:15213) at android.view.ViewGroup.layout(ViewGroup.java:4793) at android.widget.LinearLayout.setChildFrame(LinearLayout.java:1677) at android.widget.LinearLayout.layoutVertical(LinearLayout.java:1531) at android.widget.LinearLayout.onLayout(LinearLayout.java:1440) at android.view.View.layout(View.java:15213) at android.view.ViewGroup.layout(ViewGroup.java:4793) at android.widget.FrameLayout.onLayout(FrameLayout.java:448) at android.view.View.layout(View.java:15213) at android.view.ViewGroup.layout(ViewGroup.java:4793) at android.widget.FrameLayout.onLayout(FrameLayout.java:448) at android.view.View.layout(View.java:15213) at android.view.ViewGroup.layout(ViewGroup.java:4793) at android.widget.LinearLayout.setChildFrame(LinearLayout.java:1677) at android.widget.LinearLayout.layoutVertical(LinearLayout.java:1531) at android.widget.LinearLayout.onLayout(LinearLayout.java:1440) at android.view.View.layout(View.java:15213) at android.view.ViewGroup.layout(ViewGroup.java:4793) at android.widget.FrameLayout.onLayout(FrameLayout.java:448) at android.view.View.layout(View.java:15213) at android.view.ViewGroup.layout(ViewGroup.java:4793) at android.view.ViewRootImpl.performLayout(ViewRootImpl.java:2140) at android.view.ViewRootImpl.performTraversals(ViewRootImpl.java:1886) at android.view.ViewRootImpl.doTraversal(ViewRootImpl.java:1128) at android.view.ViewRootImpl$TraversalRunnable.run(ViewRootImpl.java:6269) at android.view.Choreographer$CallbackRecord.run(Choreographer.java:791) at android.view.Choreographer.doCallbacks(Choreographer.java:591) at android.view.Choreographer.doFrame(Choreographer.java:561) at android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:777) at android.os.Handler.handleCallback(Handler.java:730) at android.os.Handler.dispatchMessage(Handler.java:92) at android.os.Looper.loop(Looper.java:176) at android.app.ActivityThread.main(ActivityThread.java:5493) at java.lang.reflect.Method.invokeNative(Native Method) at java.lang.reflect.Method.invoke(Method.java:525) at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1225) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1041) at dalvik.system.NativeStart.main(Native Method) Caused by: java.lang.reflect.InvocationTargetException at java.lang.reflect.Constructor.constructNative(Native Method) at java.lang.reflect.Constructor.newInstance(Constructor.java:417) at android.view.LayoutInflater.createView(LayoutInflater.java:643) ... 63 more Caused by: java.lang.OutOfMemoryError at android.graphics.BitmapFactory.nativeDecodeAsset(Native Method) at android.graphics.BitmapFactory.decodeStream(BitmapFactory.java:596) at android.graphics.BitmapFactory.decodeResourceStream(BitmapFactory.java:444) at android.graphics.drawable.Drawable.createFromResourceStream(Drawable.java:832) at android.content.res.Resources.loadDrawable(Resources.java:2988) at android.content.res.Resources.getDrawable(Resources.java:1558) at com.facebook.drawee.view.GenericDraweeView.inflateHierarchy(GenericDraweeView.java:244) at com.facebook.drawee.view.GenericDraweeView.<init>(GenericDraweeView.java:75) at com.facebook.drawee.view.SimpleDraweeView.<init>(SimpleDraweeView.java:58) ... 66 more

    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

    Unknown visitor
    Unknown visitorOnce,
    asvidasvid
    34 times, last one
    Saravana Kumar ChinnarajSaravana Kumar Chinnaraj
    9 times, last one
    Nisha SinghNisha Singh
    12 times, last one
    Unknown visitor
    Unknown visitorOnce,
    21 more bugmates