Android java.lang.RuntimeException: Canvas: trying to draw too large(105937000bytes) bitmap

Android java.lang.RuntimeException: Canvas: trying to draw too large(105937000bytes) bitmap

运行项目时drawable下1077×2007大小的JPEG图片因为太大,draw不了,后把图片放在放置到mipmap-xxhdpi目录下成功解决问题

参考博文:https://blog.csdn.net/u011047085/article/details/88179241
https://blog.csdn.net/guolin_blog/article/details/50727753

你可能感兴趣的:(android,studio)