Hi all, I'm fairly new to Xamarin and working on binding the Flurry Analytics Android SDK jar to a Xamarin Studio project. I've followed the instructions here to create a compiled DLL of the library, which I've added as a .NET Reference to the main app project.
From there I referenced the library using
using Com.Flurry.Android;
But whenever I try to use the library functions like this:
FlurryAgent.OnStartSession(this, "[my API key]");
I get this error:
Parser Error: Unexpected symbol '(' in class, struct, or interface member declaration
Any idea what could be wrong? Also, upon digging a litter further, I noticed that in the Assembly Browser, there's an error in the References folder:
Can't load:Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=84e04ff9cfb79065
Could this be the culprit? I've read that to fix the error the bindings need to be recompiled with the latest Xamarin.Android, but I've rebuilt the project several times to no avail (I'm running the latest build of Xamarin Studio and Xamarin.Android). Am I doing something wrong?
Thanks to anyone who can help.
Josh