Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

IllegalArgumentException , android 11 #20

Open
j2emanue opened this issue Apr 25, 2021 · 2 comments
Open

IllegalArgumentException , android 11 #20

j2emanue opened this issue Apr 25, 2021 · 2 comments

Comments

@j2emanue
Copy link

java.lang.IllegalArgumentException: Invalid Region.Op - only INTERSECT and DIFFERENCE are allowed
at android.graphics.Canvas.checkValidClipOp(Canvas.java:853)
at android.graphics.Canvas.clipRect(Canvas.java:992)
at su.levenetc.android.textsurface.animations.Slide.apply(Slide.java:157)
at su.levenetc.android.textsurface.Text.onDraw(Text.java:112)
at su.levenetc.android.textsurface.TextSurface.onDraw(TextSurface.java:88)
at android.view.View.draw(View.java:22350)
at android.view.View.updateDisplayListIfDirty(View.java:21226)
at android.view.ViewGroup.recreateChildDisplayList(ViewGroup.java:4500)
at android.view.ViewGroup.dispatchGetDisplayList(ViewGroup.java:4473)
at android.view.View.updateDisplayListIfDirty(View.java:21186)
at android.view.ViewGroup.recreateChildDisplayList(ViewGroup.java:4500)
at android.view.ViewGroup.dispatchGetDisplayList(ViewGroup.java:4473)
at android.view.View.updateDisplayListIfDirty(View.java:21186)
at android.view.ViewGroup.recreateChildDisplayList(ViewGroup.java:4500)
at android.view.ViewGroup.dispatchGetDisplayList(ViewGroup.java:4473)
at android.view.View.updateDisplayListIfDirty(View.java:21186)
at android.view.ViewGroup.recreateChildDisplayList(ViewGroup.java:4500)
at android.view.ViewGroup.dispatchGetDisplayList(ViewGroup.java:4473)
at android.view.View.updateDisplayListIfDirty(View.java:21186)
at android.view.ViewGroup.recreateChildDisplayList(ViewGroup.java:4500)
at android.view.ViewGroup.dispatchGetDisplayList(ViewGroup.java:4473)

i think the fix for this could be here: https://stackoverflow.com/q/52922866/835883

can you see how can help resolve this ? on older device not seeing the issue.

@sharukh967
Copy link

I am facing this issue too. @elevenetc

@masterQian
Copy link

各位,android studio 3.6.0 已修复,但是作者之前更新的jar包字节码无法修改,如果现在导入仍然会出现错误。只需要手动将作者源代码拷贝到android studio中加入项目共同编译或者手动打jar包,就可以正常运行了。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants