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

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via Stack Overflow by Shubh
, 9 months ago
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
via GitHub by rohitshampur
, 1 year ago
Unable to start activity ComponentInfo{com.uttarainfo.uttara/com.uttarainfo.uttara.activities.MainActivity_}: android.view.InflateException: Binary XML file line #17: Error inflating class android.support.design.widget.NavigationView
via Stack Overflow by Nil
, 1 year ago
Unable to start activity ComponentInfo{com.spiderlogic.spiderlibrary/com.spiderlogic.spiderlibrary.activity.UserHome}: android.view.InflateException: Binary XML file line #17: Error inflating class android.support.design.widget.NavigationView
via Stack Overflow by Jonathan
, 1 year ago
Unable to start activity ComponentInfo{edu.upc.idi.nebot.jonathan.recipeme/edu.upc.idi.nebot.jonathan.recipeme.MainActivity}: android.view.InflateException: Binary XML file line #17: Error inflating class android.support.design.widget.NavigationView
via GitHub by neerajgoel
, 1 year ago
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
via GitHub by neerajgoel
, 1 year ago
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
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
at android.support.design.widget.NavigationView.(NavigationView.java:80)
at android.support.design.widget.NavigationView.(NavigationView.java:92)
at java.lang.reflect.Constructor.constructNative(Native Method)
at android.view.LayoutInflater.createView(LayoutInflater.java:587)
at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:687)
at android.view.LayoutInflater.rInflate(LayoutInflater.java:746)
at android.view.LayoutInflater.inflate(LayoutInflater.java:489)
at android.view.LayoutInflater.inflate(LayoutInflater.java:396)
at android.view.LayoutInflater.inflate(LayoutInflater.java:352)
at android.support.v7.app.AppCompatDelegateImplV9.setContentView(AppCompatDelegateImplV9.java:284)
at com.clabs.majorproject.HomeActivity.onCreate(HomeActivity.java:22)
at android.app.Activity.performCreate(Activity.java:5122)
at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1150)
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2315)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2403)
at android.app.ActivityThread.access$600(ActivityThread.java:165)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1373)
at android.os.Handler.dispatchMessage(Handler.java:107)
at android.os.Looper.loop(Looper.java:194)
at android.app.ActivityThread.main(ActivityThread.java:5391)
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:833)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.