I have two Android devices, a Nexus S (2.3.6) and a Galaxy Nexus (4.0.2). I've been able to build, test, debug, and have fun using MonoDroid targeting my Nexus S. However, when I launch my application on the Galaxy Nexus things crap out.
I can launch the application under a debugger OK, but as soon as I try to instantiate a custom class (e.g. GameManager) located in a different assembly I get a TypeLoadException. I am able to get a little further if I disable the "in my "Use Shared Runtime" setting in my "Mono for Android Application". However, in that case rather than getting a TypeLoadException I get a different error. Presumably from my View, an AndroidGameView: System.InvalidOperationException: egl.EglMakeCurrent failed: 0x3009. Remember that everything "just works" on my Nexus S; so I'm pretty sure there is some unexpected behavior here. Are there known problems with the Galaxy Nexus device? Do I need to flip a switch in order to run my application on a more recent OS? (All of my projects are built targeting Android 2.2 and above.) Thanks, -Chris -- View this message in context: http://mono-for-android.1047100.n5.nabble.com/TypeLoadException-for-custom-type-when-using-shared-runtime-tp5104628p5104628.html Sent from the Mono for Android mailing list archive at Nabble.com. _______________________________________________ Monodroid mailing list Monodroid@lists.ximian.com UNSUBSCRIBE INFORMATION: http://lists.ximian.com/mailman/listinfo/monodroid