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

getting object reference error when I add sfcarousel and run android project

Hello there,

I can't able to run the android project after added sfcarousel nuget package to android project. Sometimes it gives error specified cast is not valid and sometimes it gives error object reference not set to an instance of an object. In iOS it works perfectly fine.

So issue is only on android project. Can you please help me with this.

Thanks in Advance.

1 Reply

PA Paul Anderson S Syncfusion Team December 19, 2018 09:49 AM UTC

Hi Hardik Parmar, 
 
Greetings from Syncfusion. 
 
We could not reproduce the issue “Specific cast invalid, or object reference not set to the instance of an object” error when using SfCarousel nugget. We have prepared a sample which have SfCarousel control and it works without any mentioned issue.  
 
Sample: CarouselSample 
 
Please update us the exact scenario in which the issue occurs on Xamarin.Forms.Android platform. This will be helpful for us to provide better solution on this. 
 
Regards, 
Paul Anderson 


Loader.
Live Chat Icon For mobile
Up arrow icon