java.lang.RuntimeException: Unable to start activity ComponentInfo{com.clabs.majorproject/com.clabs.majorproject.HomeActivity}: android.view.InflateException: Binary XML file line #17: Error inflating class android.support.design.widget.NavigationView

Stack Overflow | Shubh | 2 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

    Error inflating NavigationView class -- android

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

    Vectors throwing Resources$NotFoundException after updating support library from 23.v to 24.v

    Stack Overflow | 6 months ago | Shivansh
    java.lang.RuntimeException: Unable to start activity ComponentInfo{...MainActivity}: android.view.InflateException: Binary XML file line #54: Error inflating class ...BlaView
  3. 0

    0.9.1 with ProGuard: InflateException

    GitHub | 9 months ago | dirkam
    java.lang.RuntimeException: Unable to start activity ComponentInfo{.SettingsActivity}: android.view.InflateException: Binary XML file line #13: Error inflating class ListPreference
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Error inflating class EditText in Android Tablet version 4.4.2

    Stack Overflow | 6 months ago | Kapil Rajput
    java.lang.RuntimeException: Unable to start activity ComponentInfo{}: android.view.InflateException: Binary XML file line #38: Error inflating class EditText android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2195)
  6. 0

    Android Studio 2.1 using Navigation Drawer Activity error

    Stack Overflow | 8 months ago | nicko_yuan
    java.lang.RuntimeException: Unable to start activity ComponentInfo{com.example.dd.ee_android_appliction/com.example.dd.ee_android_appliction.Homescreen}: android.view.InflateException: Binary XML file line #16: Error inflating class android.support.design.widget.NavigationView at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2338) at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2388) at android.app.ActivityThread.access$900(ActivityThread.java:148) at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1319) at android.os.Handler.dispatchMessage(Handler.java:99) at android.os.Looper.loop(Looper.java:137) at android.app.ActivityThread.main(ActivityThread.java:5457) at java.lang.reflect.Method.invokeNative(Native Method) at java.lang.reflect.Method.invoke(Method.java:525) at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:854) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:670) at dalvik.system.NativeStart.main(Native Method) Caused by: android.view.InflateException: Binary XML file line #16: Error inflating class android.support.design.widget.NavigationView at android.view.LayoutInflater.createView(LayoutInflater.java:620) at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:696) at android.view.LayoutInflater.rInflate(LayoutInflater.java:755) at android.view.LayoutInflater.inflate(LayoutInflater.java:492) at android.view.LayoutInflater.inflate(LayoutInflater.java:397) at android.view.LayoutInflater.inflate(LayoutInflater.java:353) at android.support.v7.app.AppCompatDelegateImplV7.setContentView(AppCompatDelegateImplV7.java:249) at android.support.v7.app.AppCompatActivity.setContentView(AppCompatActivity.java:106) at com.example.dd.ee_android_appliction.Homescreen.onCreate(Homescreen.java:22) at android.app.Activity.performCreate(Activity.java:5234) at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1087) at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2302) at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2388)

    8 unregistered visitors
    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.NoClassDefFoundError

      android.support.design.internal.NavigationMenuPresenter

      at android.support.design.widget.NavigationView.<init>()
    2. android.support.design
      NavigationView.<init>
      1. android.support.design.widget.NavigationView.<init>(NavigationView.java:80)
      2. android.support.design.widget.NavigationView.<init>(NavigationView.java:92)
      2 frames
    3. Java RT
      Constructor.newInstance
      1. java.lang.reflect.Constructor.constructNative(Native Method)
      2. java.lang.reflect.Constructor.newInstance(Constructor.java:417)
      2 frames
    4. 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
    5. Android v7
      AppCompatActivity.setContentView
      1. android.support.v7.app.AppCompatDelegateImplV9.setContentView(AppCompatDelegateImplV9.java:284)
      2. android.support.v7.app.AppCompatActivity.setContentView(AppCompatActivity.java:143)
      2 frames
    6. com.clabs.majorproject
      HomeActivity.onCreate
      1. com.clabs.majorproject.HomeActivity.onCreate(HomeActivity.java:22)
      1 frame
    7. Android Platform
      ActivityThread.main
      1. android.app.Activity.performCreate(Activity.java:5122)
      2. android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1150)
      3. android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2315)
      4. android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2403)
      5. android.app.ActivityThread.access$600(ActivityThread.java:165)
      6. android.app.ActivityThread$H.handleMessage(ActivityThread.java:1373)
      7. android.os.Handler.dispatchMessage(Handler.java:107)
      8. android.os.Looper.loop(Looper.java:194)
      9. android.app.ActivityThread.main(ActivityThread.java:5391)
      9 frames
    8. Java RT
      Method.invoke
      1. java.lang.reflect.Method.invokeNative(Native Method)
      2. java.lang.reflect.Method.invoke(Method.java:525)
      2 frames
    9. Android
      ZygoteInit.main
      1. com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:833)
      2. com.android.internal.os.ZygoteInit.main(ZygoteInit.java:600)
      2 frames
    10. Android Platform
      NativeStart.main
      1. dalvik.system.NativeStart.main(Native Method)
      1 frame