Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

  1. ,
    Expert tip

    Try adding these lines to your manifest: android:hardwareAccelerated="false" and android:largeHeap="true" as it seems to work for some cases. See also this article about handling bitmaps on android's documentation: https://goo.gl/8LVrzp

  2. ,
    Expert tip

    Try adding these lines to your manifest: "android:hardwareAccelerated="false"" and "android:largeHeap="true"" as it seems to work for some cases. See also this article about handling bitmaps on android's documentation: https://goo.gl/8LVrzp

Solutions on the web

via Stack Overflow by vdopp
, 1 year ago
Unable to start activity ComponentInfo{me.finalproject.com.apchemchemolyapp/me.finalproject.com.apchemchemolyapp.MainActivity}: android.view.InflateException: Binary XML file line #16: Binary XML file line #16: Error inflating class android.support.design.widget.NavigationView
via Stack Overflow by Remco van den Dungen
, 1 year ago
Unable to start activity ComponentInfo{remco.politiewillemiiapp/remco.politiewillemiiapp.MainActivity}: android.view.InflateException: Binary XML file line #16: Binary XML file line #16: Error inflating class android.support.design.widget.NavigationView
via Stack Overflow by Shudy
, 1 year ago
Unable to start activity ComponentInfo{com.shudy.XXXXX/com.shudy.XXXXX.MainActivity}: android.view.InflateException: Binary XML file line #16: Binary XML file line #16: Error inflating class android.support.design.widget.NavigationView
via Stack Overflow by Pelayo Rodriguez
, 1 year ago
Unable to start activity ComponentInfo{com.my.personal.project/com.my.personal.project.MainActivity}: android.view.InflateException: Binary XML file line #16: Binary XML file line #16: Error inflating class android.support.design.widget.NavigationView
via Stack Overflow by Icarus Ridexx
, 1 year ago
Unable to start activity ComponentInfo{com.j.a.p/com.j.a.p.MainActivity}: android.view.InflateException: Binary XML file line #11: Binary XML file line #11: Error inflating class android.support.design.widget.NavigationView
via Stack Overflow by i998979
, 4 months ago
Unable to start activity ComponentInfo{to.epac.factorycraft.navigationdrawer/to.epac.factorycraft.navigationdrawer.MainActivity}: android.view.InflateException: Binary XML file line #0: Binary XML file line #0: Error inflating class android.support.design.widget.NavigationView
java.lang.OutOfMemoryError: Failed to allocate a 289152012 byte allocation with 16765264 free bytes and 251MB until OOM	at dalvik.system.VMRuntime.newNonMovableArray(Native Method)	at android.graphics.BitmapFactory.nativeDecodeAsset(Native Method)	at android.graphics.BitmapFactory.decodeStream(BitmapFactory.java:856)	at android.graphics.BitmapFactory.decodeResourceStream(BitmapFactory.java:675)	at android.graphics.drawable.Drawable.createFromResourceStream(Drawable.java:2228)	at android.content.res.Resources.loadDrawableForCookie(Resources.java:4211)	at android.content.res.Resources.loadDrawable(Resources.java:4085)	at android.content.res.Resources.getDrawable(Resources.java:2005)	at android.content.res.Resources.getDrawable(Resources.java:1987)	at android.content.Context.getDrawable(Context.java:464)	at android.support.v4.content.ContextCompatApi21.getDrawable(ContextCompatApi21.java:26)	at android.support.v4.content.ContextCompat.getDrawable(ContextCompat.java:321)	at android.support.v7.widget.AppCompatDrawableManager.getDrawable(AppCompatDrawableManager.java:202)	at android.support.v7.widget.AppCompatDrawableManager.getDrawable(AppCompatDrawableManager.java:192)	at android.support.v7.view.menu.MenuItemImpl.getIcon(MenuItemImpl.java:421)