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

GitHub | julianharty | 7 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Android Kiwix 2.00 on pre-release crashes displaying Help on Samsung S3

    GitHub | 7 months ago | julianharty
    android.view.InflateException: Binary XML file line #60: Error inflating class Button
  2. 0

    GitHub comment 275#174421482

    GitHub | 1 year ago | S--Minecraft
    java.lang.RuntimeException: Unable to start activity ComponentInfo{com.alorma.github/com.alorma.github.ui.activity.CreateRepositoryActivity}: android.view.InflateException: Binary XML file line #19: Error inflating class Button
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    GitHub comment 136#221071187

    GitHub | 11 months ago | peterhav
    java.lang.RuntimeException: Unable to start activity ComponentInfo{com.example.peter.firebaseauth/com.firebase.ui.auth.ui.email.SignInNoPasswordActivity}: android.view.InflateException: Binary XML file line #30: Error inflating class Button
  5. 0

    Exception while doing Email/Password Login

    GitHub | 11 months ago | Shajeel-Afzal
    java.lang.RuntimeException: Unable to start activity ComponentInfo{PACKAGE_NAME/com.firebase.ui.auth.ui.email.RegisterEmailActivity}: android.view.InflateException: Binary XML file line #91: Error inflating class Button
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. org.xmlpull.v1.XmlPullParserException

    Binary XML file line #2: invalid drawable tag ripple

    at android.graphics.drawable.Drawable.createFromXmlInner()
  2. Android Platform
    Button.<init>
    1. android.graphics.drawable.Drawable.createFromXmlInner(Drawable.java:933)
    2. android.graphics.drawable.Drawable.createFromXml(Drawable.java:873)
    3. android.content.res.Resources.loadDrawable(Resources.java:2970)
    4. android.content.res.TypedArray.getDrawable(TypedArray.java:602)
    5. android.view.View.<init>(View.java:3563)
    6. android.widget.TextView.<init>(TextView.java:881)
    7. android.widget.Button.<init>(Button.java:108)
    7 frames
  3. Android v7
    AppCompatDelegateImplV7.onCreateView
    1. android.support.v7.widget.AppCompatButton.<init>(AppCompatButton.java:62)
    2. android.support.v7.widget.AppCompatButton.<init>(AppCompatButton.java:58)
    3. android.support.v7.app.AppCompatViewInflater.createView(AppCompatViewInflater.java:109)
    4. android.support.v7.app.AppCompatDelegateImplV7.createView(AppCompatDelegateImplV7.java:1008)
    5. android.support.v7.app.AppCompatDelegateImplV7.onCreateView(AppCompatDelegateImplV7.java:1067)
    5 frames
  4. Android Support v4
    LayoutInflaterCompatHC$FactoryWrapperHC.onCreateView
    1. android.support.v4.view.LayoutInflaterCompatHC$FactoryWrapperHC.onCreateView(LayoutInflaterCompatHC.java:44)
    1 frame
  5. Android Platform
    LayoutInflater.inflate
    1. android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:690)
    2. android.view.LayoutInflater.rInflate(LayoutInflater.java:761)
    3. android.view.LayoutInflater.rInflate(LayoutInflater.java:769)
    4. android.view.LayoutInflater.rInflate(LayoutInflater.java:769)
    5. android.view.LayoutInflater.inflate(LayoutInflater.java:498)
    6. android.view.LayoutInflater.inflate(LayoutInflater.java:398)
    7. android.view.LayoutInflater.inflate(LayoutInflater.java:354)
    7 frames
  6. org.kiwix.kiwixmobile
    KiwixMobileActivity$KiwixWebViewClient.onPageFinished
    1. org.kiwix.kiwixmobile.KiwixMobileActivity$KiwixWebViewClient.onPageFinished(KiwixMobileActivity.java:1861)
    1 frame
  7. Android Platform
    ActivityThread.main
    1. android.webkit.CallbackProxy.handleMessage(CallbackProxy.java:416)
    2. android.os.Handler.dispatchMessage(Handler.java:99)
    3. android.os.Looper.loop(Looper.java:176)
    4. android.app.ActivityThread.main(ActivityThread.java:5419)
    4 frames
  8. Java RT
    Method.invoke
    1. java.lang.reflect.Method.invokeNative(Native Method)
    2. java.lang.reflect.Method.invoke(Method.java:525)
    2 frames
  9. Android
    ZygoteInit.main
    1. com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1046)
    2. com.android.internal.os.ZygoteInit.main(ZygoteInit.java:862)
    2 frames
  10. Android Platform
    NativeStart.main
    1. dalvik.system.NativeStart.main(Native Method)
    1 frame