I have hardware acceleration enabled in my application, but I turned it off for one of my views because I had problems with hoods and other things.
Now I get this stack trace in the Google Play Crash error console:
java.lang.UnsupportedOperationException at android.view.GLES20Canvas.clipPath(GLES20Canvas.java:287) at com.myapp.MyCustomView.onDraw(SourceFile:288) at android.view.View.draw(View.java:9310) at android.view.View.getDisplayList(View.java:8773) at android.view.ViewGroup.dispatchGetDisplayList(ViewGroup.java:2298) ... at android.view.HardwareRenderer$GlRenderer.draw(HardwareRenderer.java:609) at android.view.ViewRoot.draw(ViewRoot.java:1634) at android.view.ViewRoot.performTraversals(ViewRoot.java:1450) at android.view.ViewRoot.handleMessage(ViewRoot.java:2094) at android.os.Handler.dispatchMessage(Handler.java:99) at android.os.Looper.loop(Looper.java:132) at android.app.ActivityThread.main(ActivityThread.java:4123) ...
I specified android:hardwareAccelerated="true" in AndroidManifest.xml. But I specifically turned off hardware acceleration in the constructor of my user view:
public MyCustomView(Context context, AttributeSet attrs, int defStyle) { super(context, attrs, defStyle);
Compatibility is:
public class Compatibility {
Unfortunately, the Crash Errors console does not reveal information about the Android OS version or device.
Any ideas what could happen?
android hardware-acceleration
devconsole
source share