Here is the part of the code where we try to initialize class MfsRunner
if (string.IsNullOrEmpty(model.details.CustomerPhoneMasterPass))
{
phone = model.details.CustomerPhone;
//TODO: change
var g = service.GetTokenForMasterPass("905355426170").Result;
var token = g.token;
MfsRunner mfs = new MfsRunner();
//Com.Phaymobile.Mastercard.Android
MfsResponse res;
mfs.GetCards(msisdn, token, new GCR());
mfs.Register(this.Context, token, msisdn,
new FF(), true);
mfs.CheckMasterPassEndUser(activity, token, msisdn, new FF(), true);
}
However we receive the following error.
Error 57 The type or namespace name 'MfsRunner' could not be found (are you missing a using directive or an assembly reference?) C:\Projects\MB\MB\MB.Droid\MasterPassRenderer.cs 136 17 MB.Droid
Used library and sample Android code is attached as well.
Posts
Screenshots are provided of jar binding.
Later we added the library successfully.
And then we have to initialize class MfsRunner.
Here is the part of the code where we try to initialize class MfsRunner
However we receive the following error.
Error 57 The type or namespace name 'MfsRunner' could not be found (are you missing a using directive or an assembly reference?) C:\Projects\MB\MB\MB.Droid\MasterPassRenderer.cs 136 17 MB.Droid
Used library and sample Android code is attached as well.
Used library and sample Android code is attached as well.
I ran into a similar problem and swapping to jdk 1.7 fixed it. https://forums.xamarin.com/discussion/47490/do-not-use-java-jdk-1-8-when-generating-android-bindings-in-xamarin-studio