java.lang.RuntimeException: Unable to start activity ComponentInfo{net.wequick.example.small/net.wequick.example.small.app.main.MainActivity}: android.view.InflateException: Binary XML file line #18: Binary XML file line #18: Error inflating class android.support.v7.widget.Toolbar

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

Samebug tips

,

Create an empty public constructor in your code.

Solutions on the web

via GitHub by lobo12
, 11 months ago
Unable to start activity ComponentInfo{net.wequick.example.small/net.wequick.example.small.app.main.MainActivity}: android.view.InflateException: Binary XML file line #18: Binary XML file line #18: Error inflating class android.support.v7.widget.Toolbar
via GitHub by fengnudexiaoniao
, 1 year ago
Unable to start activity ComponentInfo{net.wequick.example.small/net.wequick.example.small.app.main.MainActivity}: android.view.InflateException: Binary XML file line #13: Binary XML file line #13: Error inflating class android.support.design.widget.AppBarLayout
via GitHub by fengnudexiaoniao
, 1 year ago
Unable to start activity ComponentInfo{net.wequick.example.small/net.wequick.example.small.app.main.MainActivity}: android.view.InflateException: Binary XML file line #13: Binary XML file line #13: Error inflating class android.support.design.widget.AppBarLayout
via GitHub by dejiapps
, 11 months ago
Unable to start activity ComponentInfo{com.dejiapps.a4do/com.dejiapps.a4do.MainActivity}: android.view.InflateException: Binary XML file line #18: Binary XML file line #18: Error inflating class com.github.stkent.amplify.prompt.DefaultLayoutPromptView
via Stack Overflow by Ethan Wang
, 8 months ago
Unable to start activity ComponentInfo{com.ryx.ethan.fingerlessbrowser/com.ryx.ethan.fingerlessbrowser.MainActivity}: android.view.InflateException: Binary XML file line #18: Binary XML file line #18: Error inflating class fragment
via Stack Overflow by Boris Ruzanov
, 7 months ago
Unable to start activity ComponentInfo{com.example.android.grouper4/com.example.android.grouper4.MainActivity}: android.view.InflateException: Binary XML file line #18: Binary XML file line #18: Error inflating class item
java.lang.RuntimeException: Unable to start activity ComponentInfo{net.wequick.example.small/net.wequick.example.small.app.main.MainActivity}: android.view.InflateException: Binary XML file line #18: Binary XML file line #18: Error inflating class android.support.v7.widget.Toolbar
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2708)

Users with the same issue

66 times, 3 weeks ago
Once, 2 months ago
33 times, 3 months ago
8 times, 3 months ago
468 times, 4 months ago

Write tip

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