java.lang.RuntimeException: 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

Stack Overflow | vdopp | 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

    OutOfMemory in NavigationView

    Stack Overflow | 7 months ago | vdopp
    java.lang.RuntimeException: 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
  2. 0

    App crashes when reopening

    Stack Overflow | 1 year ago | Remco van den Dungen
    java.lang.RuntimeException: 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
  3. 0

    How to properly use Picasso library in RecycleView

    Stack Overflow | 4 months ago | Warren de León Ofalla
    java.lang.OutOfMemoryError: Failed to allocate a 11760012 byte allocation with 4269112 free bytes and 4MB until OOM
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    JSON Object too large. OutOfMemoryException : Failed to allocate bytes

    Stack Overflow | 1 month ago | Kartik
    java.lang.OutOfMemoryError: Failed to allocate a 506340012 byte allocation with 4369064 free bytes and 377MB until OOM
  6. 0

    App crashes when using RecyclerView

    Stack Overflow | 6 days ago | Robin
    java.lang.OutOfMemoryError: Failed to allocate a 512174316 byte allocation with 16777120 free bytes and 227MB until OOM
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. java.lang.OutOfMemoryError

    Failed to allocate a 289152012 byte allocation with 16765264 free bytes and 251MB until OOM

    at dalvik.system.VMRuntime.newNonMovableArray()
  2. Android Platform
    Context.getDrawable
    1. dalvik.system.VMRuntime.newNonMovableArray(Native Method)
    2. android.graphics.BitmapFactory.nativeDecodeAsset(Native Method)
    3. android.graphics.BitmapFactory.decodeStream(BitmapFactory.java:856)
    4. android.graphics.BitmapFactory.decodeResourceStream(BitmapFactory.java:675)
    5. android.graphics.drawable.Drawable.createFromResourceStream(Drawable.java:2228)
    6. android.content.res.Resources.loadDrawableForCookie(Resources.java:4211)
    7. android.content.res.Resources.loadDrawable(Resources.java:4085)
    8. android.content.res.Resources.getDrawable(Resources.java:2005)
    9. android.content.res.Resources.getDrawable(Resources.java:1987)
    10. android.content.Context.getDrawable(Context.java:464)
    10 frames
  3. Android Support v4
    ContextCompat.getDrawable
    1. android.support.v4.content.ContextCompatApi21.getDrawable(ContextCompatApi21.java:26)
    2. android.support.v4.content.ContextCompat.getDrawable(ContextCompat.java:321)
    2 frames
  4. Android v7
    AppCompatDrawableManager.getDrawable
    1. android.support.v7.widget.AppCompatDrawableManager.getDrawable(AppCompatDrawableManager.java:202)
    2. android.support.v7.widget.AppCompatDrawableManager.getDrawable(AppCompatDrawableManager.java:192)
    2 frames
  5. android.support.v7
    MenuItemImpl.getIcon
    1. android.support.v7.view.menu.MenuItemImpl.getIcon(MenuItemImpl.java:421)
    1 frame