前言
记录下在工作中常见异常的出现和排查手段。
异常
数据库篇
Room
IllegalStateException
W/System.err: java.lang.IllegalStateException: Room cannot verify the data integrity. Looks like you've changed schema but forgot to update the version number. You can simply fix this by increasing the version number.
样式篇
Resources$NotFoundException
2019-11-18 10:49:59.069 17958-17958/com.dustess.cms E/com.dustess.cm: No package ID ff found for ID 0xfffffe6c.
2019-11-18 10:49:59.088 17958-17958/com.dustess.cms E/AndroidRuntime: FATAL EXCEPTION: main
Process: com.dustess.cms, PID: 17958
android.content.res.Resources$NotFoundException: Resource ID #0xfffffe6c
at android.content.res.ResourcesImpl.getValue(ResourcesImpl.java:216)