java.lang.RuntimeException: Unable to start activity ComponentInfo{com.mariano.numberreflexgame/com.mariano.numberreflexgame.OpeningMenu}: android.view.InflateException: Binary XML file line #52: Error inflating class android.support.design.widget.NavigationView

Stack Overflow | Mariano Molina | 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

    Inflate NavigationView causes exception in Android 4.4 and lower

    Stack Overflow | 7 months ago | Mariano Molina
    java.lang.RuntimeException: Unable to start activity ComponentInfo{com.mariano.numberreflexgame/com.mariano.numberreflexgame.OpeningMenu}: android.view.InflateException: Binary XML file line #52: 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 | 11 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 | 11 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 | 8 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 | 8 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 #0x7f02009f

    at android.content.res.Resources.getValue()
  2. Android Platform
    Resources.getValue
    1. android.content.res.Resources.getValue(Resources.java:1123)
    1 frame
  3. Android v7
    AppCompatDrawableManager.getDrawable
    1. android.support.v7.widget.AppCompatDrawableManager.loadDrawableFromDelegates(AppCompatDrawableManager.java:313)
    2. android.support.v7.widget.AppCompatDrawableManager.getDrawable(AppCompatDrawableManager.java:188)
    3. android.support.v7.widget.AppCompatDrawableManager.getDrawable(AppCompatDrawableManager.java:181)
    3 frames
  4. android.support.v7
    MenuItemImpl.getIcon
    1. android.support.v7.view.menu.MenuItemImpl.getIcon(MenuItemImpl.java:422)
    1 frame
  5. android.support.design
    NavigationView.<init>
    1. android.support.design.internal.NavigationMenuPresenter$NavigationMenuAdapter.prepareMenuItems(NavigationMenuPresenter.java:475)
    2. android.support.design.internal.NavigationMenuPresenter$NavigationMenuAdapter.update(NavigationMenuPresenter.java:436)
    3. android.support.design.internal.NavigationMenuPresenter.updateMenuView(NavigationMenuPresenter.java:112)
    4. android.support.design.widget.NavigationView.inflateMenu(NavigationView.java:246)
    5. android.support.design.widget.NavigationView.<init>(NavigationView.java:170)
    6. android.support.design.widget.NavigationView.<init>(NavigationView.java:96)
    6 frames
  6. Java RT
    Constructor.newInstance
    1. java.lang.reflect.Constructor.constructNative(Native Method)
    2. java.lang.reflect.Constructor.newInstance(Constructor.java:423)
    2 frames
  7. Android Platform
    LayoutInflater.inflate
    1. android.view.LayoutInflater.createView(LayoutInflater.java:595)
    2. android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:697)
    3. android.view.LayoutInflater.rInflate(LayoutInflater.java:756)
    4. android.view.LayoutInflater.inflate(LayoutInflater.java:492)
    5. android.view.LayoutInflater.inflate(LayoutInflater.java:397)
    6. android.view.LayoutInflater.inflate(LayoutInflater.java:353)
    6 frames
  8. Android v7
    AppCompatActivity.setContentView
    1. android.support.v7.app.AppCompatDelegateImplV7.setContentView(AppCompatDelegateImplV7.java:280)
    2. android.support.v7.app.AppCompatActivity.setContentView(AppCompatActivity.java:140)
    2 frames
  9. com.mariano.numberreflexgame
    OpeningMenu.onCreate
    1. com.mariano.numberreflexgame.OpeningMenu.onCreate(OpeningMenu.java:109)
    1 frame
  10. Android Platform
    ActivityThread.main
    1. android.app.Activity.performCreate(Activity.java:5231)
    2. android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1087)
    3. android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2159)
    4. android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2245)
    5. android.app.ActivityThread.access$800(ActivityThread.java:135)
    6. android.app.ActivityThread$H.handleMessage(ActivityThread.java:1196)
    7. android.os.Handler.dispatchMessage(Handler.java:102)
    8. android.os.Looper.loop(Looper.java:136)
    9. android.app.ActivityThread.main(ActivityThread.java:5017)
    9 frames
  11. Java RT
    Method.invoke
    1. java.lang.reflect.Method.invokeNative(Native Method)
    2. java.lang.reflect.Method.invoke(Method.java:515)
    2 frames
  12. Android
    ZygoteInit.main
    1. com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:779)
    2. com.android.internal.os.ZygoteInit.main(ZygoteInit.java:595)
    2 frames
  13. Android Platform
    NativeStart.main
    1. dalvik.system.NativeStart.main(Native Method)
    1 frame