android.view.InflateException: Binary XML file line #44: Error inflating class Button

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 GitHub by NileshJarad
, 10 months ago
Binary XML file line #44: Error inflating class Button
via GitHub by gaurav-gupta83
, 2 years ago
Binary XML file line #27: Error inflating class
via Google Groups by Narayan G. Maharjan, 11 months ago
Binary XML file line #20: Error inflating class com.android.internal.policy.impl.RecentApplicationsBackground
via Stack Overflow by Ajay Singh
, 2 years ago
via Stack Overflow by Ahillesius
, 3 months ago
Binary XML file line #13: Error inflating class android.widget.ListView
via Stack Overflow by Ameer Sabith
, 1 week ago
android.content.res.Resources$NotFoundException: Resource is not a Drawable (color or path): TypedValue{t=0x1/d=0x7f02005f a=3 r=0x7f02005f}
at android.content.res.Resources.loadDrawable(Resources.java:2124)
at android.content.res.TypedArray.getDrawable(TypedArray.java:602)
at android.view.View.(View.java:3579)
at android.widget.TextView.(TextView.java:642)
at android.widget.Button.(Button.java:107)
at android.support.v7.widget.AppCompatButton.(AppCompatButton.java:61)
at android.support.v7.widget.AppCompatButton.(AppCompatButton.java:57)
at android.support.v7.app.AppCompatViewInflater.a(AppCompatViewInflater.java:109)
at android.support.v7.app.AppCompatDelegateImplV9.b(AppCompatDelegateImplV9.java:1013)
at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:684)
at android.view.LayoutInflater.rInflate(LayoutInflater.java:755)
at android.view.LayoutInflater.rInflate(LayoutInflater.java:758)
at android.view.LayoutInflater.rInflate(LayoutInflater.java:758)
at android.view.LayoutInflater.rInflate(LayoutInflater.java:758)
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.AppCompatDelegateImplV9.b(AppCompatDelegateImplV9.java:284)
at com.stephentuso.welcome.ui.WelcomeActivity.onCreate(WelcomeActivity.java:42)
at android.app.Activity.performCreate(Activity.java:5264)
at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1088)
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2302)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2390)
at android.app.ActivityThread.access$800(ActivityThread.java:151)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1321)
at android.os.Handler.dispatchMessage(Handler.java:110)
at android.os.Looper.loop(Looper.java:193)
at android.app.ActivityThread.main(ActivityThread.java:5292)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:515)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:824)

Users with the same issue

28 times, 7 months ago
17 times, 9 months ago
7 times, 10 months ago
Once, 1 year ago
Once, 1 year ago

Write tip

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