Namespace Error

// Expert user has replied.
M Mugileeshwaran Sugumar 10 months 2 weeks ago
49 4 1

Im using the SDK(dlls) for RFID Mode and as well as for the scanner for xamarin, some classes are present in both of my dlls
im getting the following error, i need to use both of the mode in my application, Thanks!


The Java type `com.zebra.barcode.sdk.BarcodeScannerInfo` is generated by more than one managed type. Please change the [Register] attribute so that the same Java type is not emitted.
1>C:\Program Files\dotnet\packs\Microsoft.Android.Sdk.Windows\33.0.68\tools\Xamarin.Android.Common.targets(1476,3): error XA4215:   `com.zebra.barcode.sdk.BarcodeScannerInfo` generated by: Com.Zebra.Barcode.Sdk.IBarcodeScannerInfo, XamarinZebraRFID, Version=2.0.1.114, Culture=neutral, PublicKeyToken=null
1>C:\Program Files\dotnet\packs\Microsoft.Android.Sdk.Windows\33.0.68\tools\Xamarin.Android.Common.targets(1476,3): error XA4215:   `com.zebra.barcode.sdk.BarcodeScannerInfo` generated by: Com.Zebra.Barcode.Sdk.IBarcodeScannerInfo, ZebraAndroidScannerLibrary, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null

Please Register or Login to post a reply

4 Replies

S Sean Kennedy

Hi Mugileeshwaran

You need to remove the Scanner Framework SDK since this is Duplicated as part of the RFID SDK - where this was added.

Otherwise you will encounter this namespace conflict.

M Mugileeshwaran Sugumar

Hi, thanks for the reply, now im using only RFIDAPI3Library, I know to switch to the RFIDMode to BarcodeMode, in developer docs i found code only for RFID Mode, any reference for the barcode mode

1. How to get the barcode data?

and so on?

 

S Sean Kennedy

Hi Mugileeshwaran

As I referred you in other topics - Review the 123RFID Mobile app source code on the best way to do this.

M Mugileeshwaran Sugumar

Thanks for the reply!

CONTACT
Can’t find what you’re looking for?