android.view.InflateException: Binary XML file line #2: Error inflating class <unknown>

Stack Overflow | Pratik Butani | 4 years ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    Caused by: java.lang.UnsupportedOperationException: Can't convert to dimension: type=0x1

    Stack Overflow | 4 years ago | Pratik Butani
    android.view.InflateException: Binary XML file line #2: Error inflating class <unknown>
  2. 0

    Android programmatically: 02/02/15

    blogspot.com | 2 years ago
    java.lang.RuntimeException: Unable to start activity ComponentInfo{com.mykontiki.android/com.mykontiki.android.ChallengeDescription}: android.view.InflateException: Binary XML file line #23: Error inflating class <unknown>
  3. 0

    Strange android xml error : “Can't convert to dimension: type=0x1” answers - Questions

    baiduwiki.com | 2 years ago
    java.lang.RuntimeException: Unable to start activity ComponentInfo{com.mykontiki.android/com.mykontiki.android.ChallengeDescription}: android.view.InflateException: Binary XML file line #23: Error inflating class <unknown>
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Klaus Keller - Google+

    google.com | 1 year ago
    java.lang.RuntimeException: Unable to start activity ComponentInfo{de.lotto24.app/de.lotto24.app.activities.MainActivity}: android.view.InflateException: Binary XML file line #61: Error inflating class <unknown>
  6. 0

    Android Home Button Click crashes the app - Tech Forum Network

    techforumnetwork.com | 1 year ago
    android.view.InflateException: Binary XML file line #7: Error inflating class <unknown>

  1. filpgame 12 times, last 4 months ago
10 unregistered visitors
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=0x1

    at android.content.res.TypedArray.getDimensionPixelSize()
  2. Android Platform
    TextView.<init>
    1. android.content.res.TypedArray.getDimensionPixelSize(TypedArray.java:463)
    2. android.widget.TextView.<init>(TextView.java:916)
    3. android.widget.TextView.<init>(TextView.java:578)
    3 frames
  3. Java RT
    Constructor.newInstance
    1. java.lang.reflect.Constructor.constructNative(Native Method)
    2. java.lang.reflect.Constructor.newInstance(Constructor.java:417)
    2 frames
  4. Android Platform
    LayoutInflater.createView
    1. android.view.LayoutInflater.createView(LayoutInflater.java:587)
    1 frame
  5. Android
    PhoneLayoutInflater.onCreateView
    1. com.android.internal.policy.impl.PhoneLayoutInflater.onCreateView(PhoneLayoutInflater.java:56)
    1 frame
  6. Android Platform
    FrameLayout.onMeasure
    1. android.view.LayoutInflater.onCreateView(LayoutInflater.java:660)
    2. android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:685)
    3. android.view.LayoutInflater.inflate(LayoutInflater.java:466)
    4. android.view.LayoutInflater.inflate(LayoutInflater.java:396)
    5. android.widget.ArrayAdapter.createViewFromResource(ArrayAdapter.java:371)
    6. android.widget.ArrayAdapter.getView(ArrayAdapter.java:362)
    7. android.widget.AbsSpinner.onMeasure(AbsSpinner.java:193)
    8. android.widget.Spinner.onMeasure(Spinner.java:439)
    9. android.view.View.measure(View.java:15518)
    10. android.widget.RelativeLayout.measureChildHorizontal(RelativeLayout.java:681)
    11. android.widget.RelativeLayout.onMeasure(RelativeLayout.java:461)
    12. android.view.View.measure(View.java:15518)
    13. android.widget.ScrollView.measureChildWithMargins(ScrollView.java:1217)
    14. android.widget.FrameLayout.onMeasure(FrameLayout.java:310)
    15. android.widget.ScrollView.onMeasure(ScrollView.java:321)
    16. android.view.View.measure(View.java:15518)
    17. android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:4825)
    18. android.widget.FrameLayout.onMeasure(FrameLayout.java:310)
    19. android.view.View.measure(View.java:15518)
    20. android.widget.LinearLayout.measureVertical(LinearLayout.java:847)
    21. android.widget.LinearLayout.onMeasure(LinearLayout.java:588)
    22. android.view.View.measure(View.java:15518)
    23. android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:4825)
    24. android.widget.FrameLayout.onMeasure(FrameLayout.java:310)
    24 frames
  7. Android
    PhoneWindow$DecorView.onMeasure
    1. com.android.internal.policy.impl.PhoneWindow$DecorView.onMeasure(PhoneWindow.java:2176)
    1 frame
  8. Android Platform
    ActivityThread.main
    1. android.view.View.measure(View.java:15518)
    2. android.view.ViewRootImpl.performMeasure(ViewRootImpl.java:1874)
    3. android.view.ViewRootImpl.measureHierarchy(ViewRootImpl.java:1089)
    4. android.view.ViewRootImpl.performTraversals(ViewRootImpl.java:1265)
    5. android.view.ViewRootImpl.doTraversal(ViewRootImpl.java:989)
    6. android.view.ViewRootImpl$TraversalRunnable.run(ViewRootImpl.java:4351)
    7. android.view.Choreographer$CallbackRecord.run(Choreographer.java:749)
    8. android.view.Choreographer.doCallbacks(Choreographer.java:562)
    9. android.view.Choreographer.doFrame(Choreographer.java:532)
    10. android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:735)
    11. android.os.Handler.handleCallback(Handler.java:725)
    12. android.os.Handler.dispatchMessage(Handler.java:92)
    13. android.os.Looper.loop(Looper.java:137)
    14. android.app.ActivityThread.main(ActivityThread.java:5041)
    14 frames
  9. Java RT
    Method.invoke
    1. java.lang.reflect.Method.invokeNative(Native Method)
    2. java.lang.reflect.Method.invoke(Method.java:511)
    2 frames
  10. Android
    ZygoteInit.main
    1. com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:793)
    2. com.android.internal.os.ZygoteInit.main(ZygoteInit.java:560)
    2 frames
  11. Android Platform
    NativeStart.main
    1. dalvik.system.NativeStart.main(Native Method)
    1 frame