Error : RuntimeException at DisplayListCanvas.throwIfCannotDraw

前端 未结 4 2231
你的背包
你的背包 2021-02-18 13:55

My application work very well on nougat emulator and many devices, but i found this exception in google play crash reporter, I don\'t know why it happened, The exception causes

4条回答
  •  时光说笑
    2021-02-18 14:49

    I had the exact same problem with Samsung Galaxy S6 S7 S8. In my case Splash Screen had high resolution and it was mistakenly placed in the drawable folder. I found solution from this answer.

    1. Right Click on drawable -> New -> Directory.
    2. Enter new directory name: xxhdpi. It will create a new folder named drawable-xxhdpi if you go to res
    3. Move your splash image from drawable to drawable-xxhdpi.

提交回复
热议问题