java.lang.RuntimeException

Unable to start activity ComponentInfo{com.fundacaonokia.jiquitaia/com.fundacaonokia.jiquitaia.MainActivity}: android.view.InflateException: Binary XML file line #50: Error inflating class android.support.design.widget.NavigationView

Samebug tips0

There are no available Samebug tips for this exception. If you know how to solve this issue, help other users by writing a short tip.

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

Solutions on the web52988

  • via Stack Overflow by lucasdj98
    , 10 months ago
    Unable to start activity ComponentInfo{com.fundacaonokia.jiquitaia/com.fundacaonokia.jiquitaia.MainActivity}: android.view.InflateException: Binary XML file line #50: Error inflating class android.support.design.widget.NavigationView
  • via Stack Overflow by Jacques Krause
    , 10 months ago
    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
  • Unable to start activity ComponentInfo: android.view.InflateException: Binary XML file line #16: Binary XML file line #16: Error inflating class android.support.design.widget.NavigationView
  • Stack trace

    • java.lang.RuntimeException: Unable to start activity ComponentInfo{com.fundacaonokia.jiquitaia/com.fundacaonokia.jiquitaia.MainActivity}: android.view.InflateException: Binary XML file line #50: Error inflating class android.support.design.widget.NavigationView at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2339) at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2391) at android.app.ActivityThread.access$900(ActivityThread.java:166) at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1281) at android.os.Handler.dispatchMessage(Handler.java:102) at android.os.Looper.loop(Looper.java:146) at android.app.ActivityThread.main(ActivityThread.java:5511) at java.lang.reflect.Method.invokeNative(Native Method) at java.lang.reflect.Method.invoke(Method.java:515) at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1283) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1099) at dalvik.system.NativeStart.main(Native Method) Caused by: android.view.InflateException: Binary XML file line #50: Error inflating class android.support.design.widget.NavigationView at android.view.LayoutInflater.createView(LayoutInflater.java:626) at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:702) at android.view.LayoutInflater.rInflate(LayoutInflater.java:761) at android.view.LayoutInflater.inflate(LayoutInflater.java:498) at android.view.LayoutInflater.inflate(LayoutInflater.java:398) at android.view.LayoutInflater.inflate(LayoutInflater.java:354) at android.support.v7.app.AppCompatDelegateImplV7.setContentView(AppCompatDelegateImplV7.java:255) at android.support.v7.app.AppCompatActivity.setContentView(AppCompatActivity.java:109) at com.fundacaonokia.jiquitaia.MainActivity.onCreate(MainActivity.java:28) at android.app.Activity.performCreate(Activity.java:5322) at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1093) at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2303) ... 11 more Caused by: java.lang.reflect.InvocationTargetException at java.lang.reflect.Constructor.constructNative(Native Method) at java.lang.reflect.Constructor.newInstance(Constructor.java:423) at android.view.LayoutInflater.createView(LayoutInflater.java:600) ... 22 more Caused by: android.content.res.Resources$NotFoundException: Resource ID #0x7f020094 at android.content.res.Resources.getValue(Resources.java:2354) at android.content.res.Resources.getDrawable(Resources.java:1919) at android.support.v4.content.ContextCompat.getDrawable(ContextCompat.java:323) at android.support.v7.internal.widget.TintManager.getDrawable(TintManager.java:146) at android.support.v7.internal.view.menu.MenuItemImpl.getIcon(MenuItemImpl.java:422) at android.support.design.internal.NavigationMenuPresenter$NavigationMenuAdapter.prepareMenuItems(NavigationMenuPresenter.java:425) at android.support.design.internal.NavigationMenuPresenter$NavigationMenuAdapter.notifyDataSetChanged(NavigationMenuPresenter.java:368) at android.support.design.internal.NavigationMenuPresenter.updateMenuView(NavigationMenuPresenter.java:115) at android.support.design.widget.NavigationView.inflateMenu(NavigationView.java:229) at android.support.design.widget.NavigationView.<init>(NavigationView.java:164) at android.support.design.widget.NavigationView.<init>(NavigationView.java:92) at java.lang.reflect.Constructor.constructNative(Native Method) at java.lang.reflect.Constructor.newInstance(Constructor.java:423) at android.view.LayoutInflater.createView(LayoutInflater.java:600) at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:702) at android.view.LayoutInflater.rInflate(LayoutInflater.java:761) at android.view.LayoutInflater.inflate(LayoutInflater.java:498) at android.view.LayoutInflater.inflate(LayoutInflater.java:398) at android.view.LayoutInflater.inflate(LayoutInflater.java:354) at android.support.v7.app.AppCompatDelegateImplV7.setContentView(AppCompatDelegateImplV7.java:255) at android.support.v7.app.AppCompatActivity.setContentView(AppCompatActivity.java:109) at com.fundacaonokia.jiquitaia.MainActivity.onCreate(MainActivity.java:28) at android.app.Activity.performCreate(Activity.java:5322) at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1093) at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2303) at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2391) at android.app.ActivityThread.access$900(ActivityThread.java:166) at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1281) at android.os.Handler.dispatchMessage(Handler.java:102) at android.os.Looper.loop(Looper.java:146) at android.app.ActivityThread.main(ActivityThread.java:5511) at java.lang.reflect.Method.invokeNative(Native Method) at java.lang.reflect.Method.invoke(Method.java:515) at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1283) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1099)

    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 user
    2 times, 1 year ago
    Unknown user
    Once, 1 year ago
    Unknown user
    Once, 1 year ago
    Unknown user
    2 times, 1 year ago
    Unknown user
    Once, 1 year ago
    98 more bugmates