(4.0 is Ice Cream Sandwich, not Honeycomb) :) ICS made some changes to JNI, which broke MonoDroid apps on ICS.
We fixed this in 1.9.2, so you will need to upgrade and rebuild your app with 1.9.2: http://android.xamarin.com/Releases/Mono_for_Android_1/Release_1.9.2 Jonathan On 11/1/2011 1:48 PM, efontana wrote: > I just built a 4.0 Honeycomb emulator and tried to start my app which works > fine with the 2.1 emulator > > and now I get this: (The splash screen shows, then dies) > > 1-01 18:41:05.912 W/NetworkManagementSocketTagger( 76): > setKernelCountSet(10004, 0) failed with errno -2 > 11-01 18:41:08.903 I/MonoDroid( 866): UNHANDLED EXCEPTION: > System.NotSupportedException: Unable to activate instance of type > Conexsys.Activities.SplashActivity from native handle 41363558 ---> > System.MissingMethodException: No constructor found for > Conexsys.Activities.SplashActivity::.ctor(System.IntPtr) > 11-01 18:41:08.903 I/MonoDroid( 866): at > Android.Runtime.TypeManager.CreateProxy (System.Type type, IntPtr handle) > [0x00000] in<filename unknown>:0 > 11-01 18:41:08.903 I/MonoDroid( 866): at > Android.Runtime.TypeManager.CreateInstance (IntPtr handle, System.Type > targetType) [0x00000] in<filename unknown>:0 > 11-01 18:41:08.903 I/MonoDroid( 866): --- End of inner exception stack > trace --- > 11-01 18:41:08.903 I/MonoDroid( 866): at > Android.Runtime.TypeManager.CreateInstance (intptr,System.Type)<0x0057c> > 11-01 18:41:08.903 I/MonoDroid( 866): at Java.Lang.Object.GetObject > (intptr,System.Type,bool)<0x00223> > 11-01 18:41:08.903 I/MonoDroid( 866): at > Java.Lang.Object._GetObject<Android.App.Activity> (intptr,bool)<0x0004f> > 11-01 18:41:08.903 I/MonoDroid( 866): at > Java.Lang.Object.GetObject<Android.App.Activity> (intptr,bool)<0x0002b> > 11-01 18:41:08.903 I/MonoDroid( 866): at > Android.App.Activity.n_OnCreate_Landroid_os_Bundle_ (intptr,intptr,intptr) > <0x00027> > 11-01 18:41:08.903 I/MonoDroid( 866): at (wrapper dynamic-method) > object.212f328f-9c50-4625-b8cd-227b46078b7f (intptr,intptr,intptr)<0x00033> > 11-01 18:41:08.953 E/mono ( 866): > 11-01 18:41:08.953 E/mono ( 866): Unhandled Exception: > System.NotSupportedException: Unable to activate instance of type > Conexsys.Activities.SplashActivity from native handle 41363558 ---> > System.MissingMethodException: No constructor found for > Conexsys.Activities.SplashActivity::.ctor(System.IntPtr) > 11-01 18:41:08.953 E/mono ( 866): at > Android.Runtime.TypeManager.CreateProxy (System.Type type, IntPtr handle) > [0x00000] in<filename unknown>:0 > 11-01 18:41:08.953 E/mono ( 866): at > Android.Runtime.TypeManager.CreateInstance (IntPtr handle, System.Type > targetType) [0x00000] in<filename unknown>:0 > 11-01 18:41:08.953 E/mono ( 866): --- End of inner exception stack > trace --- > 11-01 18:41:08.953 E/mono ( 866): at > Android.Runtime.TypeManager.CreateInstance (IntPtr handle, System.Type > targetType) [0x00000] in<filename unknown>:0 > 11-01 18:41:08.953 E/mono ( 866): at Java.Lang.Object.GetObject > (IntPtr handle, System.Type type, Boolean owned) [0x00000] in<filename > unknown>:0 > 11-01 18:41:08.953 E/mono ( 866): at > Java.Lang.Object._GetObject[Activity] (IntPtr handle, Boolean owned) > [0x00000] in<filename unknown>:0 > 11-01 18:41:08.953 E/mono ( 866): at > Java.Lang.Object.GetObject[Activity] (IntPtr handle, Boolean owned) > [0x00000] in<filename unknown>:0 > 11-01 18:41:08.953 E/mono ( 866): at Android.App > > > > ----- > iPhone and Android Developer > > www.ericfontana.com > > -- > View this message in context: > http://mono-for-android.1047100.n5.nabble.com/Problem-with-app-on-HoneyComb-Emulator-Crash-Splashscreen-tp4955993p4955993.html > Sent from the Mono for Android mailing list archive at Nabble.com. > _______________________________________________ > 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
