java.lang.RuntimeException: Unable to start activity ComponentInfo{com.mycompany.myapp/com.mycompany.myapp.MainActivity}: android.view.InflateException: Binary XML file line #36: 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

Solutions on the web

via Stack Overflow by user5894647
, 1 year ago
Unable to start activity ComponentInfo{com.mycompany.myapp/com.mycompany.myapp.MainActivity}: android.view.InflateException: Binary XML file line #36: Error inflating class android.support.v7.widget.Toolbar
via GitHub by romanoss
, 1 year ago
Unable to start activity ComponentInfo{com.example.android.uamp/com.example.android.uamp.ui.MusicPlayerActivity}: android.view.InflateException: Binary XML file line #25: Error inflating class android.support.v7.widget.Toolbar
via GitHub by nocturnalprelude
, 2 years ago
Unable to start activity ComponentInfo{com.sothree.slidinguppanel.demo/com.sothree.slidinguppanel.demo.DemoActivity}: android.view.InflateException: Binary XML file line #23: Error inflating class android.support.v7.widget.Toolbar
via GitHub by gandulf
, 1 year ago
Unable to start activity ComponentInfo{com.dsatab/com.dsatab.activity.ItemEditActivity}: android.view.InflateException: Binary XML file line #18: Error inflating class android.support.v7.widget.GridLayout
via Stack Overflow by user90210
, 1 year ago
Unable to start activity ComponentInfo{com.cohen.agenda/com.cohen.agenda.Agenda}: android.view.InflateException: Binary XML file line #36: Error inflating class android.support.design.widget.NavigationView
via Stack Overflow by user2198400
, 2 years ago
Unable to start activity ComponentInfo{com.faiz.news/com.faiz.news.ui.MainActivity}: android.view.InflateException: Binary XML file line #14: Error inflating class android.support.v7.widget.RecyclerView
java.lang.RuntimeException: Unable to start activity ComponentInfo{com.mycompany.myapp/com.mycompany.myapp.MainActivity}: android.view.InflateException: Binary XML file line #36: Error inflating class android.support.v7.widget.Toolbar
at android.graphics.drawable.Drawable.createFromXmlInner(Drawable.java:917)

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
4 times, 1 year ago
14 times, 1 year ago
20 times, 1 year ago
23 more bugmates

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