Android Question Gauge view Android 9 error

Almora

Active Member
Licensed User
Longtime User
hi..
only android 9 gives error. I don't have a test device. based on google analytics data.

Fatal Exception: java.lang.IllegalArgumentException
Invalid Region.Op - only INTERSECT and DIFFERENCE are allowed

Fatal Exception: java.lang.IllegalArgumentException: Invalid Region.Op - only INTERSECT and DIFFERENCE are allowed
at android.graphics.Canvas.checkValidClipOp(Canvas.java:779)
at android.graphics.Canvas.clipRect(Canvas.java:826)
at anywheresoftware.b4a.objects.drawable.CanvasWrapper.RemoveClip(CanvasWrapper.java:485)
at anywheresoftware.b4a.objects.B4XCanvas.RemoveClip(B4XCanvas.java:78)
at ka.te.gauge._drawindicator(gauge.java:478)
at ka.te.al.gauge._drawbackground(gauge.java:448)
at ka.te.al.gauge._base_resize(gauge.java:208)
at ka.te.al.gauge._designercreateview(gauge.java:387)
at java.lang.reflect.Method.invoke(Method.java)
at anywheresoftware.b4a.BA.raiseEvent2(BA.java:191)
at anywheresoftware.b4a.objects.CustomViewWrapper.AfterDesignerScript(CustomViewWrapper.java:67)
at anywheresoftware.b4a.keywords.LayoutBuilder.loadLayout(LayoutBuilder.java:162)
at anywheresoftware.b4a.objects.ActivityWrapper.LoadLayout(ActivityWrapper.java:209)
at ka.te.al._activity_create(ra.java:394)
at java.lang.reflect.Method.invoke(Method.java)
at anywheresoftware.b4a.BA.raiseEvent2(BA.java:191)
at ka.te.al.afterFirstLayout(ra.java:104)
at ka.te.al.access$000(ra.java:17)
at ka.te.al.$WaitForLayout.run(ra.java:82)
at android.os.Handler.handleCallback(Handler.java:873)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loop(Looper.java:193)
at android.app.ActivityThread.main(ActivityThread.java:6680)
at java.lang.reflect.Method.invoke(Method.java)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:493)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:858)
 
Top