We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date
close icon

Exception in Android Binding

Hello. I added an SFAutoComplete control in my xamarin forms project. The control is working well in UWP. In Android I have the following exception:
[...] java.lang.ClassNotFoundException: Didn't find class "android.view.adaptive-icon" on path: DexPathList [...]

The exception is thrown just after typing a letter matching a result in the datasource; I mean, exception is thrown just before the "result popup" is shown; so I think that is something relating to the drawing of the popup showing the result of typed letters. 

Your sample works good running on the same developing maching and I cannot see any difference between my project and yours. Could you please point me to the right way to discover why this exception is happening?

Thank you in advance, regards.

3 Replies

MK Muneesh Kumar G Syncfusion Team May 10, 2019 08:53 AM UTC

Hi Enrico, 
 
Greetings from Syncfusion.  
 
We have prepared a simple sample since we are unaware of the exact scenario to reproduce the issue and unfortunately, we could not able to reproduce the same. We have attached the sample and the video for the same. Please have the sample from the below link, 
 
 
 
Please check with the sample and if the issue you have mentioned differs from the sample please modify the sample with which you are experiencing the issue which will be helpful for us to analyze further and provide an appropriate solution. 
 
Regards, 
Muneesh Kumar G. 



EN Enrico May 10, 2019 10:39 AM UTC

Hi Muneesh Kumar,

thank you for the simple sample. Anyway I already tried with a "simple sample" on my own and everything was working well...
After several hours :( I found that the problem was the reference to another solution with a custom control. I don't know what exactly the problem was, but the custom control had a xamain project, a two projects (droid and UWP) for the rendering. Removing the two custom rendering and placing them in the main solution (deleting the reference to the external droid and uwp project) solved the issue. I think that the issue is something related the two droid project: one was defining something over the other (even if the two project was targeting same android version); or something similar (UWP project was working well).

Thank you for the support.


MK Muneesh Kumar G Syncfusion Team May 10, 2019 11:41 AM UTC

Hi Enrico,   
 
Glad that the issue has been resolved and please get back to us if you need any other assistance.  
 
Regards, 
Muneesh Kumar G. 


Loader.
Live Chat Icon For mobile
Up arrow icon