如何修复canvas.clipPath崩溃导致android中的致命11(SIGSEGV)错误?

时间:2014-03-05 04:25:51

标签: android canvas android-canvas gdi

我正在尝试使用android中的Picture类构建图片。当我调用canvas.clipPath(path,Region.Op.REPLACE)导致致命11(SIGSEGV)code1(SEGV_MAPERR)错误时。有什么方法可以修复它或任何解决方法都可以解决它?

我尝试禁用硬件加速,但没有用。

平台:
Android 4.2,4.3,4.4

设备:
Nexus 7,三星Galaxy

相关链接:
SIGSEGV in Canvas.clipPath at the second clipPath
Canvas.clipPath(Path) not clipping as expected
http://developer.android.com/guide/topics/graphics/hardware-accel.html#unsupported

0 个答案:

没有答案