Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Java.Lang.NoClassDefFoundError: android.provider.CalendarContract$Calendars
at Android.Runtime.JNIEnv.FindClass (string) [0x00087] in /Users/builder/data/lanes/monodroid-mlion-master/1fed39c1/source/monodroid/src/Mono.Android/src/Runtime/JNIEnv.cs:287
at Android.Runtime.JNIEnv.FindClass (string,intptr&) [0x00014] in /Users/builder/data/lanes/monodroid-mlion-master/1fed39c1/source/monodroid/src/Mono.Android/src/Runtime/JNIEnv.cs:300
at Android.Provider.CalendarContract/Calendars.get_class_ref () [0x00000] in /Users/builder/data/lanes/monodroid-mlion-master/1fed39c1/source/monodroid/src/Mono.Android/platforms/android-17/src/generated/Android.Provider.CalendarContract.cs:1856
at Android.Provider.CalendarContract/Calendars.get_ContentUri () [0x00014] in /Users/builder/data/lanes/monodroid-mlion-master/1fed39c1/source/monodroid/src/Mono.Android/platforms/android-17/src/generated/Android.Provider.CalendarContract.cs:1644
at CalendarDemo.CalendarListActivity.OnCreate (Android.OS.Bundle) [0x00020] in /Users/apple/Desktop/2nd August/monodroid-samples-master/CalendarDemo/CalendarListActivity.cs:25
at Android.App.Activity.n_OnCreate_Landroid_os_Bundle_ (intptr,intptr,intptr) [0x00010] in /Users/builder/data/lanes/monodroid-mlion-master/1fed39c1/source/monodroid/src/Mono.Android/platforms/android-17/src/generated/Android.App.Activity.cs:2121
at at (wrapper dynamic-method) object.c7aada16-0ecc-4da9-8c64-a309bf7dce8c (intptr,intptr,intptr) <IL 0x00017, 0x00043>
at
at --- End of managed exception stack trace ---
at java.lang.NoClassDefFoundError: android.provider.CalendarContract$Calendars
at at calendardemo.CalendarListActivity.n_onCreate(Native Method)
at at calendardemo.CalendarListActivity.onCreate(CalendarListActivity.java:28)
at at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1047)
at at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:1615)
at at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:1667)
at at android.app.ActivityThread.access$1500(ActivityThread.java:117)
at at android.app.ActivityThread$H.handleMessage(ActivityThread.java:935)
at at android.os.Handler.dispatchMessage(Handler.java:99)
at at android.os.Looper.loop(Looper.java:123)
at at android.app.ActivityThread.main(ActivityThread.java:3691)
at at java.lang.reflect.Method.invokeNative(Native Method)
at at java.lang.reflect.Method.invoke(Method.java:507)
at at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:847)
at at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:605)
at at dalvik.system.NativeStart.main(Native Method)
at Caused by: java.lang.ClassNotFoundException: android.provider.CalendarContract$Calendars in loader dalvik.system.PathClassLoader[/data/app/CalendarDemo.CalendarDemo-1.apk]
at at dalvik.system.PathClassLoader.findClass(PathClassLoader.java:240)
at at java.lang.ClassLoader.loadClass(ClassLoader.java:551)
at at java.lang.ClassLoader.loadClass(ClassLoader.java:511)
at ... 15 more
at
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment