Try this suggestion that Jonathan Pryor said in a previous posting.

Mono for Android provides two runtimes (VS: Project Properties > Application
tab > Supported architectures), armeabi and armeabi-v7a.

The armeabi architecture is for ARMv5, which has no notion of multi-procesor
support.

The armeabi-v7a architectures is for ARMv7a, which does have a notion of
multi-processor support (and hardware FPU support, and...).

By default, only armeabi is included with your app, meaning that the armeabi
runtime will be used everywhere. However, the armeabi runtime appears to
crash (hard!) on multi-processor systems. For example, if I take the project
attached tohttp://bugzilla.xamarin.com/show_bug.cgi?id=245, comment out the
GC.Collect() call on line 39 (as described in Comment 2), and deploy a
Release build to a Xoom, it crashes in the manner you described.

If I rebuild a Release build and include the armeabi-v7a architecture, it
runs normally.

So is there a bug here? Yes: armeabi shouldn't crash on multi-core
architectures. (We should instead modify it so that it'll only run code on a
single core.) This has been filed as
http://bugzilla.xamarin.com/show_bug.cgi?id=281.

Is there a workaround? Yes: include the armeabi-v7a architecture with your
app.



Mike Child


On Wed, Sep 21, 2011 at 2:13 PM, Dan Ransom <[email protected]> wrote:

> I'm running a trial of the MonoDroid VS extension and I can't seem to get
> the “Hello World” app to run on any Honeycomb emulators. The emulator itself
> seems to be fine and the app works with Gingerbread versions without
> incident. Keep getting error "The application X (process X.X) has stopped
> unexpectedly. Please try again." Tried versions Honeycomb versions 3.0
> through 3.2 with the same error. Any suggestions?****
>
> ** **
>
> We need to confirm certain functionality for Android 3 before purchasing a
> license, but since the trial can’t deploy to a real machine unless we can
> get Hello World to work in the emulator it’s a no go.****
>
> ** **
>
> Is there something I need to do beyond the instructions on the website?***
> *
>
> _______________________________________________
> Monodroid mailing list
> [email protected]
>
> UNSUBSCRIBE INFORMATION:
> http://lists.ximian.com/mailman/listinfo/monodroid
>
>
_______________________________________________
Monodroid mailing list
[email protected]

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

Reply via email to