android.view.InflateException: Binary XML file line #1: Error inflating class TextView

GitHub | ramadeef | 6 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

    GitHub comment 14#253767694

    GitHub | 6 months ago | ramadeef
    android.view.InflateException: Binary XML file line #1: Error inflating class TextView
  2. 0

    Getting InflateException for TextView

    Stack Overflow | 6 months ago | Anita Koli
    java.lang.RuntimeException: Unable to start activity ComponentInfo{com.aryagami.locationservices/com.aryagami.locationservices.activities.StartScreen}: android.view.InflateException: Binary XML file line #64: Error inflating class TextView
  3. 0

    com.facebook.accountkit.ui.AccountKitActivity}: android.view.InflateException: Binary XML file line #26: Error inflating class TextView

    Stack Overflow | 5 months ago | Vishal Patel
    java.lang.RuntimeException: Unable to start activity ComponentInfo{abc.co.com/com.facebook.accountkit.ui.AccountKitActivity}: android.view.InflateException: Binary XML file line #26: Error inflating class TextView
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Account kit Login activity is not opening got this exceptions.

    GitHub | 5 months ago | patelvishal1401
    java.lang.RuntimeException: Unable to start activity ComponentInfo{abc.co.com/com.facebook.accountkit.ui.AccountKitActivity}: android.view.InflateException: Binary XML file line #26: Error inflating class TextView
  6. 0

    AlertDialog.setAdapter not working on 2.3.3-3.0

    GitHub | 5 years ago | ru-nekit-android
    android.view.InflateException: Binary XML file line #2: Error inflating class <unknown>
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. java.lang.UnsupportedOperationException

    Can't convert to dimension: type=0x12

    at android.content.res.TypedArray.getDimensionPixelSize()
  2. Android Platform
    TextView.<init>
    1. android.content.res.TypedArray.getDimensionPixelSize(TypedArray.java:463)
    2. android.view.View.<init>(View.java:3354)
    3. android.widget.TextView.<init>(TextView.java:455)
    3 frames
  3. Android v7
    AppCompatDelegateImplV9.onCreateView
    1. android.support.v7.widget.AppCompatTextView.<init>(AppCompatTextView.java:59)
    2. android.support.v7.widget.AppCompatTextView.<init>(AppCompatTextView.java:55)
    3. android.support.v7.app.AppCompatViewInflater.createView(AppCompatViewInflater.java:103)
    4. android.support.v7.app.AppCompatDelegateImplV9.createView(AppCompatDelegateImplV9.java:1013)
    5. android.support.v7.app.AppCompatDelegateImplV9.onCreateView(AppCompatDelegateImplV9.java:1072)
    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
    ArrayAdapter.getView
    1. android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:675)
    2. android.view.LayoutInflater.inflate(LayoutInflater.java:466)
    3. android.view.LayoutInflater.inflate(LayoutInflater.java:396)
    4. android.widget.ArrayAdapter.createViewFromResource(ArrayAdapter.java:371)
    5. android.widget.ArrayAdapter.getView(ArrayAdapter.java:362)
    5 frames
  6. com.braintreepayments.cardform
    ExpirationDateItemAdapter.getView
    1. com.braintreepayments.cardform.utils.ExpirationDateItemAdapter.getView(ExpirationDateItemAdapter.java:75)
    1 frame
  7. Android Platform
    FrameLayout.onMeasure
    1. android.widget.AbsListView.obtainView(AbsListView.java:2271)
    2. android.widget.GridView.onMeasure(GridView.java:1046)
    3. android.view.View.measure(View.java:15323)
    4. android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:4924)
    5. android.widget.LinearLayout.measureChildBeforeLayout(LinearLayout.java:1421)
    6. android.widget.LinearLayout.measureVertical(LinearLayout.java:698)
    7. android.widget.LinearLayout.onMeasure(LinearLayout.java:579)
    8. android.view.View.measure(View.java:15323)
    9. android.widget.LinearLayout.measureHorizontal(LinearLayout.java:1037)
    10. android.widget.LinearLayout.onMeasure(LinearLayout.java:581)
    11. android.view.View.measure(View.java:15323)
    12. android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:4924)
    13. android.widget.FrameLayout.onMeasure(FrameLayout.java:315)
    14. android.view.View.measure(View.java:15323)
    15. android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:4924)
    16. android.widget.FrameLayout.onMeasure(FrameLayout.java:315)
    17. android.view.View.measure(View.java:15323)
    18. android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:4924)
    19. android.widget.FrameLayout.onMeasure(FrameLayout.java:315)
    19 frames
  8. Android
    PhoneWindow$DecorView.onMeasure
    1. com.android.internal.policy.impl.PhoneWindow$DecorView.onMeasure(PhoneWindow.java:2155)
    1 frame
  9. Android Platform
    ActivityThread.main
    1. android.view.View.measure(View.java:15323)
    2. android.view.ViewRootImpl.performMeasure(ViewRootImpl.java:1854)
    3. android.view.ViewRootImpl.measureHierarchy(ViewRootImpl.java:1102)
    4. android.view.ViewRootImpl.performTraversals(ViewRootImpl.java:1275)
    5. android.view.ViewRootImpl.doTraversal(ViewRootImpl.java:1000)
    6. android.view.ViewRootImpl$TraversalRunnable.run(ViewRootImpl.java:4218)
    7. android.view.Choreographer$CallbackRecord.run(Choreographer.java:725)
    8. android.view.Choreographer.doCallbacks(Choreographer.java:555)
    9. android.view.Choreographer.doFrame(Choreographer.java:525)
    10. android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:711)
    11. android.os.Handler.handleCallback(Handler.java:615)
    12. android.os.Handler.dispatchMessage(Handler.java:92)
    13. android.os.Looper.loop(Looper.java:137)
    14. android.app.ActivityThread.main(ActivityThread.java:4744)
    14 frames
  10. Java RT
    Method.invoke
    1. java.lang.reflect.Method.invokeNative(Native Method)
    2. java.lang.reflect.Method.invoke(Method.java:511)
    2 frames