Unplanned
Last Updated: 20 Dec 2024 14:25 by ADMIN
Anthony
Created on: 21 Nov 2024 13:45
Category: Entry
Type: Bug Report
5
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

.....

3 comments
ADMIN
Didi
Posted on: 20 Dec 2024 14:25

Hello all,

The team is working on a fix. When there is an update, this will be addressed in the item. 

Regards,
Didi
Progress Telerik

Love the Telerik and Kendo UI products and believe more people should try them? Invite a fellow developer to become a Progress customer and each of you can get a $50 Amazon gift voucher.

Giampaolo
Posted on: 20 Dec 2024 14:21

Do you have any news ?

We need to upgrade to MAUI 9

Tnx

Anthony
Posted on: 26 Nov 2024 02:44
I have tested up to Android 9 and these crashes also occur there.

I hope Telerik fixes these crashes as a priority, many of your customers would still be using these older android versions. Those versions are officially still supported by MAUI so any MAUI related controls should also support them.