On Aug 3, 2012, at 7:23 AM, Andrew Sinclair <and...@magic5software.com> wrote: > I haven’t upgraded Mono for Android since 4.0.4, it’s been a nice stable > version for me. Now I’ve come across a problem on a device and an emulator > running Android 4.0.4.
As a reminder, there is no binary stability between 4.0.4 and 4.2. You will need to rebuild your entire app and all libraries. (However, your issues doesn't look like it's a problem due to ABI incompatibility...) > The error is pretty much on start up: > > 08-03 10:53:44.792: I/MonoDroid(797): UNHANDLED EXCEPTION: > System.NotSupportedException: Unable to activate instance of type > Java.Lang.IRunnableAdapter from native handle 412ce190 ---> > System.MissingMethodException: No constructor found for > Java.Lang.IRunnableAdapter::.ctor(System.IntPtr) Your exception looks like (and can be induced by) premature Dispose() calls: calling Dispose() when Java still holds a reference to your C# instance and Java will be invoking methods on that instance in the future: http://docs.xamarin.com/android/advanced_topics/architecture#Premature_Dispose()_Calls Or it's a GC bug; we've been fixing actual (and theoretical) GC issues for quite some time... I would suggest first looking at your `using` statements or explicit Dispose() calls to see if they're sensible. - Jon _______________________________________________ Monodroid mailing list Monodroid@lists.ximian.com UNSUBSCRIBE INFORMATION: http://lists.ximian.com/mailman/listinfo/monodroid