imageview无法显示图片:java.lang.RuntimeException: Canvas: trying to draw too large(281520000bytes) bitmap

图片太大需要压缩。
压缩方法:http://jingyan.baidu.com/article/cdddd41c3ef41153ca00e162.html
如果特别大(几十M),可以先用在线的图片压缩软件压缩以后再用上面的方法。
posted @ 2018-02-27 11:10  Shaw_喆宇  阅读(2730)  评论(0编辑  收藏  举报