[mono-android] Configuration - Linking option

Arvis Lieģenieks arvis at progoteam.lv
Wed Feb 15 14:24:00 UTC 2012


Can't understand when to choose "Sdk Assamblies only" or "Sdk and User
Assamblies" in project configuration?

Deploy is fine in both cases but when start activity with simple MapView
object ( http://pastebin.com/UUSvYcWC )  allways get:
Unhandled Exception: System.ArgumentException: Couldn't bind to method
'GetIsRouteDisplayedHandler'.

As far I understand "Sdk and User Assamblies" is better option as produces
smaller apk.
But that handler 'GetIsRouteDisplayedHandler' is coming from
Android.Runtime.Register("isRouteDisplayed",
"()Z", "GetIsRouteDisplayedHandler") and Mono.Android.GoogleMaps.dll is not
User assambly.

So why Mono4Android produce that error and how to get rid of it? Any
directions to look?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ximian.com/pipermail/monodroid/attachments/20120215/3b8b09fe/attachment.html>


More information about the Monodroid mailing list