Filed as http://bugzilla.xamarin.com/show_bug.cgi?id=1114
Thanks, - Jon On Sep 28, 2011, at 6:07 AM, [email protected] wrote: > got tyhis error when tying to use arrayadapter > > " at Android.Runtime.JNIEnv.GetMethodID (IntPtr kls, System.String name, > System.String signature) [0x00024] in > /home/jpobst/Desktop/monodroid/Mono.Android/src/Runtime/JNIEnv.cs:310 \n at > Android.Widget.ArrayAdapter`1[AvanteSales.Book]..ctor > (Android.Content.Context context, Int32 textViewResourceId, > AvanteSales.Book[] objects) [0x000b7] in > /home/jpobst/Desktop/monodroid/Mono.Android/src/Android.Widget/ArrayAdapter.cs:55 > \n at AvanteSales.TestActivity+LitemItemAdapter..ctor > (Android.Content.Context context, Int32 textViewResourceId, > AvanteSales.Book[] objects) [0x00000] in > D:\\Projetos\\AvantSales\\2.8\\AvanteSalesAndroid\\AvanteSales\\TestActivity.cs:24 > \n at AvanteSales.TestActivity.OnCreate (Android.OS.Bundle bundle) > [0x0002d] in > D:\\Projetos\\AvantSales\\2.8\\AvanteSalesAndroid\\AvanteSales\\TestActivity.cs:70 > \n --- End of managed exception stack trace > ---\njava.lang.NoSuchMethodError: <init>\n\tat > avantesales.TestActivity.n_onCreate(Native Method)\n\tat avantesale s.TestActivity.onCreate(TestActivity.java:25)\n\tat android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1047)\n\tat android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2627)\n\tat android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2679)\n\tat android.app.ActivityThread.access$2300(ActivityThread.java:125)\n\tat android.app.ActivityThread$H.handleMessage(ActivityThread.java:2033)\n\tat android.os.Handler.dispatchMessage(Handler.java:99)\n\tat android.os.Looper.loop(Looper.java:123)\n\tat android.app.ActivityThread.main(ActivityThread.java:4627)\n\tat java.lang.reflect.Method.invokeNative(Native Method)\n\tat java.lang.reflect.Method.invoke(Method.java:521)\n\tat com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:868)\n\tat com.android.internal.os.ZygoteInit.main(ZygoteInit.java:626)\n\tat dalvik.system.NativeStart.main(Native Method)\n" > > > trying to reproduce the code that is here > > http://stackoverflow.com/questions/1011237/how-to-create-a-datagrid-display-in-android > > _______________________________________________ > 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
