Unplanned
Last Updated: 21 Nov 2024 13:45 by Anthony
Anthony
Created on: 21 Nov 2024 13:45
Category: Entry
Type: Bug Report
1
Entry: Unhandled Exception on Android 5.1 with Telerik MAUI 8.0.0

When updating to Telerik MAUI 8.0.0 and building the app on Android 5.1 the controls that use RadTextInput internally crash

Controls like, DataGrid, RadEntry, ComboBox, AutoComplete, Numeric, Masked

UNHANDLED EXCEPTION:
[MonoDroid] Java.Lang.NoSuchMethodError: no non-static method "Landroidx/appcompat/widget/AppCompatEditText;.getTextCursorDrawable()Landroid/graphics/drawable/Drawable;"
[MonoDroid]    at Java.Interop.JniEnvironment.InstanceMethods.GetMethodID(JniObjectReference type, String name, String signature)
[MonoDroid]    at Java.Interop.JniType.GetInstanceMethod(String name, String signature)
[MonoDroid]    at Java.Interop.JniPeerMembers.JniInstanceMethods.GetMethodInfo(String method, String signature)
[MonoDroid]    at Java.Interop.JniPeerMembers.JniInstanceMethods.GetMethodInfo(String encodedMember)
[MonoDroid]    at Java.Interop.JniPeerMembers.JniInstanceMethods.InvokeVirtualObjectMethod(String encodedMember, IJavaPeerable self, JniArgumentValue* parameters)
[MonoDroid]    at Android.Widget.TextView.get_TextCursorDrawable()
[MonoDroid]    at Telerik.Maui.Handlers.RadTextInputHandler.MapCustomCursorColor(RadTextInputHandler handler, IRadTextInput virtualElement)
[MonoDroid]    at Microsoft.Maui.PropertyMapper`2.<>c__DisplayClass5_0[[Telerik.Maui.IRadTextInput, Telerik.Maui.Core, Version=8.0.0.0, Culture=neutral, PublicKeyToken=5803cfa389c90ce7],[Telerik.Maui.Handlers.RadTextInputHandler, Telerik.Maui.Core, Version=8.0.0.0, Culture=neutral, PublicKeyToken=5803cfa389c90ce7]].<Add>b__0(IElementHandler h, IElement v)
[MonoDroid]    at Microsoft.Maui.PropertyMapper.UpdatePropertyCore(String key, IElementHandler viewHandler, IElement virtualView)
[MonoDroid]    at Microsoft.Maui.PropertyMapper.UpdateProperties(IElementHandler viewHandler, IElemen

.....

0 comments