java.lang.UnsupportedOperationException

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

Samebug tips0

We couldn't find tips for this exception.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web3

  • via GitHub by asadwaheed1
    ,
  • Stack trace

    • java.lang.UnsupportedOperationException: Can't convert to dimension: type=0x1 android.content.res.TypedArray.getDimensionPixelSize(TypedArray.java:463) at android.widget.ImageView.<init>(ImageView.java:137) at android.widget.ImageButton.<init>(ImageButton.java:85) at android.widget.ImageButton.<init>(ImageButton.java:81)

    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

    We couldn't find other users who have seen this exception.