我正在从JSON加载图像到ImageView。JSON只提供图像URL的路径。我正在使用Picasso设置值。但某些图像会出现错误,而其他图像则正常工作。
Picasso.with(context).load(rowItem.getProductImages().get(0)).into(holder.productImageView);
错误信息为:
2771-2793/com.koove E/art﹕ Throwing OutOfMemoryError "Failed to allocate a 31961100 byte allocation with 4194304 free bytes and 27MB until OOM"
03-25 09:53:23.666 2771-2793/com.koove D/skia﹕ --- decoder->decode returned false