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

前端 未结 2 1537

So my problem is a weird one. I keep getting this error:

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

Th

相关标签:
2条回答
  • 2020-12-06 16:49

    While there are a lot of attributes that can cause this crash, because it is difficult to fix you might want to just check for ?android:attr/listPreferredItemPaddingStart (and all other ~start and ~end attributes). This question also indicates that windowTranslucentStatus and windowTranslucentNavigation are a problem.

    0 讨论(0)
  • 2020-12-06 16:52

    You should add android:windowTranslucentNavigation attribute in values-v19 style.

    It is not supported in older versions.

    0 讨论(0)
提交回复
热议问题