java.lang.IllegalStateException: Immutable bitmap passed to Canvas constructor
解决,转为mutable bitmap即可。
bitmap = bitmap.copy(Bitmap.Config.ARGB_8888, true);
参考:https://blog.csdn.net/niuba123456/article/details/113754591
道法自然
解决,转为mutable bitmap即可。
bitmap = bitmap.copy(Bitmap.Config.ARGB_8888, true);
参考:https://blog.csdn.net/niuba123456/article/details/113754591