Blankj / Blankj/AndroidUtilCode
AdaptScreenUtils ClassCastException
Open
@Blankj is already working on this.
Since May 25, 2022.
bug
- Dominant language
- Java
- Stars
- 33.6k
- Forks
- 10.6k
- PR merge metrics
- No merged PRs in 30d
Description
描述 Bug
简洁地描述下 Bug。
- AndroidUtilCode 的版本:utilcode:1.30.0
- 出现 Bug 的设备型号:OPPO R7s Plus
- 设备的 Android 版本:5.1.1
异常堆栈
AdaptScreenUtils: getMetricsFromField: java.lang.ClassCastException: java.lang.Object cannot be cast to android.util.DisplayMetrics
-->
put the stack of crash here

截图

Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.