Bitmap too large to be uploaded into a texture (587x7696, max=2048x2048) 的解决方法

1.关闭manifest配置中的硬件加速配置

android:hardwareAccelerated="false"

2.load图片时设置BitmapFactory.optionos.inJustDecodeBounds = true;

你可能感兴趣的:(Bitmap too large to be uploaded into a texture (587x7696, max=2048x2048) 的解决方法)