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


Solutions on the web2196

Solution icon of github
via GitHub by webmaster33
, 8 months ago
Binary XML file line #74: Error inflating class Button

Solution icon of github
via GitHub by webmaster33
, 9 months ago
Binary XML file line #74: Error inflating class Button

Solution icon of github
via GitHub by webmaster33
, 9 months ago
Binary XML file line #74: Error inflating class Button

Solution icon of github
via GitHub by peterhav
, 1 year ago
Binary XML file line #30: Error inflating class Button

Solution icon of github
via GitHub by cocoas
, 1 year ago
Binary XML file line #98: Error inflating class Button

Solution icon of stackoverflow
Binary XML file line #6: Error inflating class button

Solution icon of stackoverflow
Binary XML file line #15: Error inflating class button

Solution icon of stackoverflow
Binary XML file line #53: Error inflating class Button

Solution icon of stackoverflow
via Stack Overflow by krishan
, 1 year ago
Binary XML file line #20: Error inflating class Button

Solution icon of stackoverflow
Binary XML file line #29: Error inflating class Button

Stack trace

android.view.InflateException: Binary XML file line #74: Error inflating class Button
	at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:770)
	at android.view.LayoutInflater.rInflate(LayoutInflater.java:813)
	at android.view.LayoutInflater.rInflate(LayoutInflater.java:821)
	at android.view.LayoutInflater.rInflate(LayoutInflater.java:821)
	at android.view.LayoutInflater.rInflate(LayoutInflater.java:821)
	at android.view.LayoutInflater.inflate(LayoutInflater.java:511)
	at android.view.LayoutInflater.inflate(LayoutInflater.java:415)
	at com.alorma.github.ui.activity.repo.RepoAboutFragment.onCreateView(RepoAboutFragment.java:128)
	at android.support.v4.app.Fragment.performCreateView(Fragment.java:2087)
	at android.support.v4.app.FragmentManagerImpl.moveToState(FragmentManager.java:1113)
	at android.support.v4.app.FragmentManagerImpl.moveToState(FragmentManager.java:1295)
	at android.support.v4.app.BackStackRecord.run(BackStackRecord.java:801)
	at android.support.v4.app.FragmentManagerImpl.execPendingActions(FragmentManager.java:1682)
	at android.support.v4.app.FragmentManagerImpl$1.run(FragmentManager.java:541)
	at android.os.Handler.handleCallback(Handler.java:739)
	at android.os.Handler.dispatchMessage(Handler.java:95)
	at android.os.Looper.loop(Looper.java:145)
	at android.app.ActivityThread.main(ActivityThread.java:5951)
	at java.lang.reflect.Method.invoke(Native Method)
	at java.lang.reflect.Method.invoke(Method.java:372)
	at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1400)
	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1195)
Caused by: android.content.res.Resources$NotFoundException: File res/drawable/ic_repo_tag.xml from drawable resource ID #0x7f0200a5
	at android.content.res.Resources.loadDrawableForCookie(Resources.java:3735)
	at android.content.res.Resources.loadDrawable(Resources.java:3603)
	at android.content.res.TypedArray.getDrawable(TypedArray.java:762)
	at android.widget.TextView.<init>(TextView.java:1226)
	at android.widget.Button.<init>(Button.java:115)
	at android.widget.Button.<init>(Button.java:108)
	at android.support.v7.widget.AppCompatButton.<init>(AppCompatButton.java:64)
	at android.support.v7.widget.AppCompatButton.<init>(AppCompatButton.java:60)
	at android.support.v7.app.AppCompatViewInflater.createView(AppCompatViewInflater.java:109)
	at android.support.v7.app.AppCompatDelegateImplV9.createView(AppCompatDelegateImplV9.java:1017)
	at android.support.v7.app.AppCompatDelegateImplV9.onCreateView(AppCompatDelegateImplV9.java:1076)
	at android.support.v4.view.LayoutInflaterCompatHC$FactoryWrapperHC.onCreateView(LayoutInflaterCompatHC.java:44)
	at android.view.LayoutInflater$FactoryMerger.onCreateView(LayoutInflater.java:181)
	at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:732)
	... 21 more
Caused by: android.content.res.Resources$NotFoundException: File res/drawable-anydpi-v21/ic_tag.xml from drawable resource ID #0x7f0200ad
	at android.content.res.Resources.loadDrawableForCookie(Resources.java:3735)
	at android.content.res.Resources.loadDrawable(Resources.java:3603)
	at android.content.res.TypedArray.getDrawable(TypedArray.java:762)
	at android.graphics.drawable.LayerDrawable.updateLayerFromTypedArray(LayerDrawable.java:238)
	at android.graphics.drawable.LayerDrawable.inflateLayers(LayerDrawable.java:195)
	at android.graphics.drawable.LayerDrawable.inflate(LayerDrawable.java:147)
	at android.graphics.drawable.Drawable.createFromXmlInner(Drawable.java:1150)
	at android.graphics.drawable.Drawable.createFromXml(Drawable.java:1063)
	at android.content.res.Resources.loadDrawableForCookie(Resources.java:3719)
	... 34 more
Caused by: java.lang.NumberFormatException: Invalid float: ".66.27"
	at java.lang.StringToReal.invalidReal(StringToReal.java:63)
	at java.lang.StringToReal.initialParse(StringToReal.java:160)
	at java.lang.StringToReal.parseFloat(StringToReal.java:323)
	at java.lang.Float.parseFloat(Float.java:306)
	at android.util.PathParser.getFloats(PathParser.java:178)
	at android.util.PathParser.createNodesFromPathData(PathParser.java:59)
	at android.graphics.drawable.VectorDrawable$VFullPath.updateStateFromTypedArray(VectorDrawable.java:1439)
	at android.graphics.drawable.VectorDrawable$VFullPath.inflate(VectorDrawable.java:1421)
	at android.graphics.drawable.VectorDrawable.inflateInternal(VectorDrawable.java:542)
	at android.graphics.drawable.VectorDrawable.inflate(VectorDrawable.java:458)
	at android.graphics.drawable.Drawable.createFromXmlInner(Drawable.java:1150)
	at android.graphics.drawable.Drawable.createFromXml(Drawable.java:1063)
	at android.content.res.Resources.loadDrawableForCookie(Resources.java:3719)
	... 42 more

Write tip

You have a different solution? A short tip here would help you and many other users who saw this issue last week.

Users with the same issue

10 times, 1 year ago
29833 times, 5 days ago
Samebug visitor profile picture
Unknown user
Once, 8 months ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
30 more bugmates