when adding sfcarousel in project gets error while building the application

everity Code Description Project File Line Suppression State
Error  Exception while loading assemblies: System.IO.FileNotFoundException: Could not load assembly 'Xamarin.Android.Support.v17.Leanback, Version=1.0.0.0, Culture=neutral, PublicKeyToken='. Perhaps it doesn't exist in the Mono for Android profile?
File name: 'Xamarin.Android.Support.v17.Leanback.dll'
   at Java.Interop.Tools.Cecil.DirectoryAssemblyResolver.Resolve(AssemblyNameReference reference, ReaderParameters parameters)
   at Xamarin.Android.Tasks.ResolveAssemblies.AddAssemblyReferences(DirectoryAssemblyResolver resolver, ICollection`1 assemblies, AssemblyDefinition assembly, Boolean topLevel)
   at Xamarin.Android.Tasks.ResolveAssemblies.Execute(DirectoryAssemblyResolver resolver)  ****.Android 


1. tried to update xamarin forms to stable edition 3.0 

if i remove this nuget sfcarousel no error comes.

i am trying to use sfcarousel view to show images in my app



1 Reply

VA Vinnalan Aravazhi Syncfusion Team June 4, 2018 05:18 AM UTC

Hi Kailasam,

Thanks for contacting Syncfusion support.

Query: When adding SfCarousel in project gets error while building the application

We have checked the reported issue from our side. Please include Xamarin.Android.Support.v17.Leanback library to use carousel in Android platform. Please find the sample from below link.

Sample: http://www.syncfusion.com/downloads/support/forum/137895/ze/CarouselSample322937979 

Please let us know if you have any other queries.

Regards,
Vinnalan K A. 


Loader.
Up arrow icon