[mono-android] No Display in VS2010
Jonathan Pryor
jonp at xamarin.com
Thu Nov 10 14:17:45 EST 2011
On Nov 10, 2011, at 1:27 PM, Randall wrote:
> Hi, I'm running the template application in Visual Studio 2010 SP1 that
> displays a button and increments a counter everytime you click on the
> button. The application loads fine into the emulator but there is only a
> title that appears and no button.
>
> Using Platform 4.0/API Level 14 for the Android and Mono for Andriod
> 1.2.0.26415.
Mono for Android 1.2 is known to be incompatible with Android v4.0/ICS. (Google changed the JNI semantics we were using).
http://code.google.com/p/android/issues/detail?id=21674
In order to run on ICS you'll need to rebuild your app under 1.9.2+/2.0. (Fortunately ICS devices are not currently available, and ICS won't be that widespread for some time, but that's only a minor consolation. Hopefully Google can fix this bug.)
- Jon
More information about the Monodroid
mailing list