Canvas: trying to draw too large(134374464bytes) bitmap.

 运行时崩溃,崩溃日志如上图所示,这大概是图片存放的尺寸不太合适

崩溃设备:小米11,系统:Android 11

解决方法:将splash图从drawable文件夹中移动到drawable-xxxhdpi文件夹中(如果不存在drawable-xxxhdpi文件夹,需手动创建)

Canvas: trying to draw too large(134374464bytes) bitmap.

 

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-01-28
  • 2021-06-26
  • 2021-11-20
  • 2022-12-23
  • 2021-09-22
猜你喜欢
  • 2021-07-20
  • 2021-09-17
  • 2021-12-06
  • 2022-12-23
  • 2022-12-23
  • 2021-09-02
  • 2021-09-13
相关资源
相似解决方案