mcqueccu Well-Known Member Licensed User Longtime User Feb 19, 2021 #1 I realised my app is crashing on devices running Android 4.x.x with this error. Fatal Exception: java.lang.RuntimeException: Method: setClipToOutline not found in: anywheresoftware.b4a.BALayout Can this error be catch or this method disabled if using devices less than API 21 as Erel suggested in the library thread?
I realised my app is crashing on devices running Android 4.x.x with this error. Fatal Exception: java.lang.RuntimeException: Method: setClipToOutline not found in: anywheresoftware.b4a.BALayout Can this error be catch or this method disabled if using devices less than API 21 as Erel suggested in the library thread?
Alexander Stolte Expert Licensed User Longtime User Feb 19, 2021 #2 mcqueccu said: Can this error be catch or this method disabled if using devices less than API 21 as Erel suggested in the library thread? Click to expand... maybe with this: B4X: If p.SdkVersion >= 21 Then 'p = phone lib. but i doubt if the view will still look like it should, at least if you want to have round corners. Upvote 0
mcqueccu said: Can this error be catch or this method disabled if using devices less than API 21 as Erel suggested in the library thread? Click to expand... maybe with this: B4X: If p.SdkVersion >= 21 Then 'p = phone lib. but i doubt if the view will still look like it should, at least if you want to have round corners.