On Aug 10, 2011, at 10:54 AM, Willem Meints wrote:
> I’m experiencing a weird problem with an external library I have.
>  
> I/MonoDroid(  332): UNHANDLED EXCEPTION: Java.Lang.NoClassDefFoundError: 
> Excepti
> on of type 'Java.Lang.NoClassDefFoundError' was thrown.
> I/MonoDroid(  332):   at Android.Runtime.JNIEnv.FindClass (System.String 
> classna
> me) [0x00066] in 
> /home/jpobst/Desktop/mondroid/Mono.Android/src/Runtime/JNIEnv.c
> s:159
> I/MonoDroid(  332):   at Android.Runtime.JNIEnv.FindClass (System.Type type) 
> [0x
> 00000] in /home/jpobst/Desktop/mondroid/Mono.Android/src/Runtime/JNIEnv.cs:126
> I/MonoDroid(  332):   --- End of managed exception stack trace ---
> I/MonoDroid(  332): java.lang.NoClassDefFoundError: 
> thefactorm.device.geolocatio
> n.LocationListener

Do you have a 
ProjectDir/obj/Debug/android/src/thefactorm/device/geolocation/LocationListener.java
 file?

This sounds like:

        http://bugzilla.xamarin.com/show_bug.cgi?id=33

in which a Java file wasn't being compiled (due to a mandroid bug), javac 
failed, yet the .apk was still being created (wtf?). I'm still not sure how 
this was happening in the first place, but perhaps that's what you're seeing as 
well?

Are you running Mono for Android 1.0.2?

Thanks,
 - Jon

_______________________________________________
Monodroid mailing list
Monodroid@lists.ximian.com

UNSUBSCRIBE INFORMATION:
http://lists.ximian.com/mailman/listinfo/monodroid

Reply via email to