Xamarin sider.dll is missing

I updated and lowered my project, now I get an error message that is not in my Sider.dll .

Severity code Description Project file line suppression state Exception error while loading assemblies: System.IO.FileNotFoundException: Failed to load assembly 'Sider, Version = 0.9.3.42023, Culture = neutral, PublicKeyToken ='. Perhaps this does not exist in the Mono profile for Android? Bestandsnaam: Sider.dll bij Java.Interop.Tools.Cecil.DirectoryAssemblyResolver.Resolve (AssemblyNameReference reference, ReaderParameters parameters) bij Xamarin.Android.Tasks.ResolveAssemblies.AddAssemblyReferences (DirectoryAssemblyResolver resolver, assembly IClelection` Xamarin.Android.Tasks.ResolveAssemblies.Execute (DirectoryAssemblyResolver resolver) Scanner.Android

enter image description here

Update:

The error comes from ZXing.Net.Mobile Barcode Scanner . I can only install the old version of this package. Since my Arc.Barcodes does not support newer versions. I tried to use different versions without success. Each version has the same missing sider.dll error.

If I install a newer version, I will get an error message:

Unable to resolve dependencies. "ZXing.Net.Mobile 2.1.47" is incompatible with the "Acr.BarCodes 3.1.0 restriction: ZXing.Net.Mobile (> = 1.4.7.1 & <2.0.0) '.

I hope someone can help me find the answer to this problem.

+8
android c # xamarin
source share
1 answer

Try rebuilding the project and installing the oldest version? If you fail, you can try. To create the barcode scanner, I will use the NuGet Arc.BarCodes package, a cross-platform creator built on top of ZXing.Net.Mobile, to provide easy cross-platform access from the main shared / PCL libraries. Now we can set some permissions for Android and Windows to access the camera. This is done to get a clear image of the barcode we want to scan.

For Android, open AndroidManifest.xml and select CAMERA from the required permissions. Now open WMAppManifest.xml to set permissions on Windows Phone, then select ID_CAP_ISV_CAMERA from Capabilities. Now we want to initialize the corresponding NuGet package in each launch class for the platform. For example, AppDelegate.cs for iOS, MainActivity.cs for Android, and MainPage.xaml.cs for Windows Phone, calling global :: Acr.BarCodes.BarCodes.Init (); before calling LoadApplication ();

Now create a button on the page for the barcode scanner.

0
source share

All Articles