Mono for Android. OnPause event does not fire on Galaxy Nexus

I built my first Mono project for Android (oriented to API level 8, minimum Android 2.2) and deployed it to HTC Incredible [1], which runs on 2.3.4. Everything worked well and stayed in my main activities OnCreate, OnStart, OnResume, OnPauseand OnStopeverything worked well, as described in Xamarin Tutorial lifecycle .

Without changing any project parameters, I changed to Samsung Galaxy Nexus running 4.0.2 and deployed the same application. It was called OnCreatejust fine, but it never triggered any of the other events when I switched from the application.

How do I get these activity events to run in Ice Cream Sandwich (ICS) on the Galaxy Nexus?

+3
source share
1 answer

When you launch the first deployment in Galaxy Nexus, you will see its deployment of the "armeabi-v7a - 40202" assemblies. For some reason, it stuck in my head when this problem began to impede work.

If you go to the project properties and check the "armeabi-v7a" box in the "Supported architectures" section, these events will start to fire as expected.

armeabi-v7a supported architecture checkbox

+4
source

All Articles