On May 16, 2012, at 6:47 AM, Stuart Lodge wrote:
> After upgrading from the alpha to release of 4.2

Your upgrade is apparently incomplete. The "Invalid bridge callback version. 
Expected 2 but got -2126498020" message is coming from Mono's GC:

        
https://github.com/mono/mono/blob/master/mono/metadata/sgen-bridge.c#L283

Mono for Android startup uses Mono's GC bridge mechanism to deal with the 
cross-VM GC semantics, and requires that the libmonodroid.so in your app be in 
sync with the libmonosgen-2.0.so on your device. For example, if your Debug app 
was built against Mono for Android 4.0.6 and you installed the 4.2.1 Debug 
runtime on the device, things will break (and the above message is something I 
would expect, among other potential breakage).

Regardless, for Debug apps, the app _must_ be built against the same Mono for 
Android version as the Debug runtime present on the device. Whenever you 
install an app within the IDE we'll ensure that the versions match, and will 
upgrade the on-device Debug runtime if appropriate, but that only helps at 
installation time. If you're running an "older" Debug app, things can get out 
of sync and break in weird ways.

In short, rebuild and redeploy your app, and it should work again. If you don't 
want Debug runtime upgrades to break your app, install a Release build. :-)

 - Jon

_______________________________________________
Monodroid mailing list
[email protected]

UNSUBSCRIBE INFORMATION:
http://lists.ximian.com/mailman/listinfo/monodroid

Reply via email to