Hi, I'm done with the porting on Android of an app which run on iOS thanks to MT. All is fine, except that the app won't run when compiled in Release mode. It runs perfectly when compiled in Debug mode.
I'm reporting these exceptions from the Android device output console. Exceptions are like these: E/mono (22236): Unhandled Exception: System.MissingMethodException: No constructor found for Android.Widget.RelativeLayout+LayoutParams::.ctor(System.Int32, System.Int32) E/mono (22236): at System.Activator.CreateInstance (System.Type type, BindingFlags bindingAttr, System.Reflection.Binder binder, System.Object[] args, System.Globalization.CultureInfo culture, System.Object[] activationAttributes) [0x00000] in <filename unknown>:0 E/mono (22236): at System.Activator.CreateInstance (System.Type type, System.Object[] args, System.Object[] activationAttributes) [0x00000] in <filename unknown>:0 E/mono (22236): at System.Activator.CreateInstance (System.Type type, System.Object[] args) [0x00000] in <filename unknown>:0 E/mono (22236): at AdMaiora.Core.UI.ViewBuilder.ConfigureLayout[LayoutParams] () [0x00000] in <filename unknown>:0 E/mono (22236): at AdMaiora.Core.UI.MultiDatePickerDialog.SetContentLayout (Android.Content.Context context) [0x00000] in <filename unknown>:0 E/mono (22236): at AdMaiora.Core.UI.MultiDatePickerDialog..ctor (Android.Content.Context context) [0x00000] in <filename unknown>:0 E/mono (22267): Unhandled Exception: System.NullReferenceException: Object reference not set to an instance of an object E/mono (22267): at AdMaiora.Iusuite.UI.PhoneHomeActivity.OnResume () [0x00000] in <filename unknown>:0 E/mono (22267): at Android.App.Activity.n_OnResume (IntPtr jnienv, IntPtr native__this) [0x00000] in <filename unknown>:0 E/mono (22267): at (wrapper dynamic-method) object:996ba38f-2daa-4926-b4ab-f0645f3c2cfd (intptr,intptr) The release mode app is currently being tested on a real device but has been heavily tested on virtual devices (also the x86 version works, when in debug mode) The debug version works perfectly either on real device or virtual devices. any idea? thanks Francesco
_______________________________________________ Monodroid mailing list Monodroid@lists.ximian.com UNSUBSCRIBE INFORMATION: http://lists.ximian.com/mailman/listinfo/monodroid