java.lang.RuntimeException: Unable to start activity ComponentInfo{net.goforwardfitness.goforwardfitness/com.pongodev.dailyworkout.activities.ActivityHome}: android.view.InflateException: Binary XML file line #2: 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

Do you know how to solve this issue? Write a tip to help other users and build your expert profile.

Solutions on the web

via codecanyon.net by Unknown author, 1 year ago
Unable to start activity ComponentInfo{net.goforwardfitness.goforwardfitness/com.pongodev.dailyworkout.activities.ActivityHome}: android.view.InflateException: Binary XML file line #2: Error inflating class android.support.v7.widget.Toolbar
via codecanyon.net by Unknown author, 1 year ago
Unable to start activity ComponentInfo{net.goforwardfitness.goforwardfitness/com.pongodev.dailyworkout.activities.ActivityHome}: android.view.InflateException: Binary XML file line #2: Error inflating class android.support.v7.widget.Toolbar
via Stack Overflow by Guneet Kaur
, 1 year ago
Unable to start activity ComponentInfo{com.example.user.e_mart/com.example.user.e_mart.MainActivity}: android.view.InflateException: Binary XML file line #2: Error inflating class android.support.v7.widget.Toolbar
via Stack Overflow by mr.icetea
, 11 months ago
Unable to start activity ComponentInfo{com.chotot.vn.dev/com.chotot.vn.v2.activities.MainActivity}: android.view.InflateException: Binary XML file line #13: Error inflating class android.support.v7.widget.Toolbar
via Stack Overflow by cwgi
, 1 year ago
Unable to start activity ComponentInfo{com.loan.collector/com.loan.collector.HomeActivity}: android.view.InflateException: Binary XML file line #36: Error inflating class android.support.v7.widget.Toolbar
via Stack Overflow by Rashed
, 1 year ago
Unable to start activity ComponentInfo{com.example.anonymous.look/com.example.anonymous.look.MainActivity}: android.view.InflateException: Binary XML file line #36: Error inflating class android.support.v7.widget.Toolbar
java.lang.RuntimeException: Unable to start activity ComponentInfo{net.goforwardfitness.goforwardfitness/com.pongodev.dailyworkout.activities.ActivityHome}: android.view.InflateException: Binary XML file line #2: Error inflating class android.support.v7.widget.Toolbar
at android.graphics.drawable.Drawable.createFromXmlInner(Drawable.java:877)
at android.graphics.drawable.Drawable.createFromXml(Drawable.java:818)
at android.content.res.Resources.loadDrawable(Resources.java:1915)
at android.support.v7.widget.TintResources.superGetDrawable(TintResources.java:48)
at android.support.v7.widget.AppCompatDrawableManager.onDrawableLoadedFromResources(AppCompatDrawableManager.java:374)
at android.support.v7.widget.AppCompatDrawableManager.getDrawable(AppCompatDrawableManager.java:180)
at android.support.v7.widget.AppCompatDrawableManager.getDrawable(AppCompatDrawableManager.java:173)
at android.support.v7.widget.TintTypedArray.getDrawable(TintTypedArray.java:60)
at android.support.v7.widget.Toolbar.(Toolbar.java:254)
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.parseInclude(LayoutInflater.java:807)
at android.view.LayoutInflater.rInflate(LayoutInflater.java:736)
at android.view.LayoutInflater.rInflate(LayoutInflater.java:749)
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.AppCompatDelegateImplV7.setContentView(AppCompatDelegateImplV7.java:267)
at com.pongodev.dailyworkout.activities.ActivityHome.onCreate(ActivityHome.java:35)
at android.app.Activity.performCreate(Activity.java:5008)
at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1079)
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2023)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2084)
at android.app.ActivityThread.access$600(ActivityThread.java:130)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1195)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loop(Looper.java:137)
at android.app.ActivityThread.main(ActivityThread.java:4745)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:511)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:786)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 1 year ago
6 times, 1 year ago
2 times, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 11 months ago
4 times, 1 year ago

Write tip

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