java.lang.RuntimeException: Unable to start activity ComponentInfo{com.candyx.testapp.activity.MainActivity}: android.view.InflateException: Binary XML file line #16: Error inflating class android.support.design.widget.NavigationView

  1. 0

    Error Inflating Navigation View

    Stack Overflow | 3 months ago | Jacques Krause
    java.lang.RuntimeException: Unable to start activity ComponentInfo{com.candyx.testapp.activity.MainActivity}: android.view.InflateException: Binary XML file line #16: Error inflating class android.support.design.widget.NavigationView
  2. 0

    Getting exception on android 4.2 but works fine on android 5.0

    Stack Overflow | 9 months ago | user1590595
    android.view.InflateException: Binary XML file line #17: Error inflating class android.support.design.widget.NavigationView
  3. 0

    Android studio target navigation drawer sdk version

    Stack Overflow | 8 months ago | Alperen Adatepe
    java.lang.RuntimeException: Unable to start activity ComponentInfo{gazete.alperennn.gazeteler/gazete.alperennn.gazeteler.MainActivity}: android.view.InflateException: Binary XML file line #15: Error inflating class android.support.design.widget.NavigationView
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    GitHub comment 1#225383422

    GitHub | 6 months ago | neerajgoel
    java.lang.RuntimeException: Unable to start activity ComponentInfo{qpapers.gully03neeraj1992neeraj.com.qpapers/qpapers.gully03neeraj1992neeraj.com.qpapers.MainActivity}: android.view.InflateException: Binary XML file line #17: Error inflating class android.support.design.widget.NavigationView
  6. 0

    After change navigation drawer item's icon, app is dead

    Stack Overflow | 5 months ago | Chris
    android.view.InflateException: Binary XML file line #22: 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.content.res.Resources$NotFoundException

    Resource ID #0x7f02006f

    at android.content.res.Resources.getValue()
  2. Android Platform
    Resources.getValue
    1. android.content.res.Resources.getValue(Resources.java:1013)
    1 frame
  3. Android v7
    AppCompatDrawableManager.getDrawable
    1. android.support.v7.widget.AppCompatDrawableManager.loadDrawableFromDelegates(AppCompatDrawableManager.java:324)
    2. android.support.v7.widget.AppCompatDrawableManager.getDrawable(AppCompatDrawableManager.java:189)
    3. android.support.v7.widget.AppCompatDrawableManager.getDrawable(AppCompatDrawableManager.java:182)
    3 frames
  4. android.support.v7
    MenuItemImpl.getIcon
    1. android.support.v7.content.res.AppCompatResources.getDrawable(AppCompatResources.java:100)
    2. android.support.v7.view.menu.MenuItemImpl.getIcon(MenuItemImpl.java:421)
    2 frames
  5. android.support.design
    NavigationView.<init>
    1. android.support.design.internal.NavigationMenuPresenter$NavigationMenuAdapter.prepareMenuItems(NavigationMenuPresenter.java:505)
    2. android.support.design.internal.NavigationMenuPresenter$NavigationMenuAdapter.update(NavigationMenuPresenter.java:446)
    3. android.support.design.internal.NavigationMenuPresenter.updateMenuView(NavigationMenuPresenter.java:112)
    4. android.support.design.widget.NavigationView.inflateMenu(NavigationView.java:248)
    5. android.support.design.widget.NavigationView.<init>(NavigationView.java:171)
    6. android.support.design.widget.NavigationView.<init>(NavigationView.java:97)
    6 frames
  6. Java RT
    Constructor.newInstance
    1. java.lang.reflect.Constructor.constructNative(Native Method)
    2. java.lang.reflect.Constructor.newInstance(Constructor.java:417)
    2 frames
  7. Android Platform
    LayoutInflater.inflate
    1. android.view.LayoutInflater.createView(LayoutInflater.java:587)
    2. android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:687)
    3. android.view.LayoutInflater.rInflate(LayoutInflater.java:746)
    4. android.view.LayoutInflater.inflate(LayoutInflater.java:489)
    5. android.view.LayoutInflater.inflate(LayoutInflater.java:396)
    6. android.view.LayoutInflater.inflate(LayoutInflater.java:352)
    6 frames
  8. Android v7
    AppCompatActivity.setContentView
    1. android.support.v7.app.AppCompatDelegateImplV9.setContentView(AppCompatDelegateImplV9.java:284)
    2. android.support.v7.app.AppCompatActivity.setContentView(AppCompatActivity.java:140)
    2 frames
  9. com.candyx.testapp
    MainActivity.onCreate
    1. com.candyx.testapp.activity.MainActivity.onCreate(MainActivity.java:34)
    1 frame
  10. Android Platform
    ActivityThread.main
    1. android.app.Activity.performCreate(Activity.java:5008)
    2. android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1079)
    3. android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2023)
    4. android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2084)
    5. android.app.ActivityThread.access$600(ActivityThread.java:130)
    6. android.app.ActivityThread$H.handleMessage(ActivityThread.java:1195)
    7. android.os.Handler.dispatchMessage(Handler.java:99)
    8. android.os.Looper.loop(Looper.java:137)
    9. android.app.ActivityThread.main(ActivityThread.java:4745)
    9 frames
  11. Java RT
    Method.invoke
    1. java.lang.reflect.Method.invokeNative(Native Method)
    2. java.lang.reflect.Method.invoke(Method.java:511)
    2 frames
  12. Android
    ZygoteInit.main
    1. com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:786)
    2. com.android.internal.os.ZygoteInit.main(ZygoteInit.java:553)
    2 frames
  13. Android Platform
    NativeStart.main
    1. dalvik.system.NativeStart.main(Native Method)
    1 frame