java.lang.UnsupportedOperationException: Can't convert to dimension: type=0x1 android.content.res.TypedArray.getDimensionPixelSize(TypedArray.java:463)

Stack Overflow | Bignadad | 3 years ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

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

    Stack Overflow | 3 years ago | Bignadad
    java.lang.UnsupportedOperationException: Can't convert to dimension: type=0x1 android.content.res.TypedArray.getDimensionPixelSize(TypedArray.java:463)
  2. 0

    Android Lollipop to Kitkat doesn't work

    Stack Overflow | 12 months ago | Hans Baum
    java.lang.RuntimeException: Unable to start activity ComponentInfo{com.example.hansbaum.calculator/com.example.hansbaum.calculator.MainActivity}: android.view.InflateException: Binary XML file line #19: Error inflating class android.widget.ImageButton

    Root Cause Analysis

    1. java.lang.UnsupportedOperationException

      Can't convert to dimension: type=0x1 android.content.res.TypedArray.getDimensionPixelSize(TypedArray.java:463)

      at android.widget.ImageView.<init>()
    2. Android Platform
      ImageButton.<init>
      1. android.widget.ImageView.<init>(ImageView.java:137)
      2. android.widget.ImageButton.<init>(ImageButton.java:85)
      3. android.widget.ImageButton.<init>(ImageButton.java:81)
      3 frames