Xamarin .aar Bindings

Hello All,

I'm relatively new to Xamarin and I'm trying to build a mobile payment app using EMV from Authroize.net. They have a Java SDK that utilizes an .aar file. I add the file with the instructions listed here:
https://developer.xamarin.com/guides/android/advanced_topics/binding-a-java-library/binding-an-aar/

After I bind the file, I get 76 errors and have tried to troubleshoot them with the following posts to no avail:
https://developer.xamarin.com/guides/android/advanced_topics/binding-a-java-library/troubleshooting-bindings/
https://forums.xamarin.com/discussion/10887/how-to-fix-errors-on-jar-binding-project
https://gist.github.com/JonDouglas/dda6d8ace7d071b0e8cb#class-visibility

I am about to just give up until Authorize.net releases an EMV SDK for .Net but thought I'd post here for some guidance.

Here are some of the errors I am getting:

CS1715 'Transaction.TransactionType': type must be 'Enum' to match overridden member 'XMLTransaction.TransactionType'
CS0542 'Address': member names cannot be the same as their enclosing type
CS0534 'Transaction' does not implement inherited abstract member 'XMLTransaction.TransactionType.get'
CS0234 The type or namespace name 'CAPK' does not exist in the namespace 'Com.Bbpos.Bbdevice' (are you missing an assembly reference?)
CS0229 Ambiguity between 'EmvSwipeController.ReturnTransactionResultEventArgs.p0' and 'EmvSwipeController.ReturnTransactionResultEventArgs.p0'

Thanks.

Sign In or Register to comment.