Hi,

I'm experiencing a weird problem with an external library I have.
The app I'm building uses a library I made that contains some code to abstract 
platform specific stuff so I can use the same API on WP7, iPhone and Android.
When I use the external library from my app I get the following error in the 
adb logcat output:

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

The weird thing is that I have added the [Preserve] attribute on the class and 
I did make it public.
I have no idea what's going wrong here.

Anyone can help me find out what's going on here?

Kind regards,

Willem Meints
_______________________________________________
Monodroid mailing list
Monodroid@lists.ximian.com

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

Reply via email to