Hi, I have read about how to use AttachCurrentThread in JNI and it looks exactly like the examples, but whenever i call this method in one of the callbacks from other thread, i get following exception in logcat
W/dalvikvm( 312): JNI WARNING: JNI method called with exception raised W/dalvikvm( 312): in Ldalvik/system/NativeStart;.run ()V (GetMethodID) W/dalvikvm( 312): Pending exception is: I/dalvikvm( 312): Ljava/lang/NoClassDefFoundError;: [generic] I/dalvikvm( 312): at dalvik.system.NativeStart.main(Native Method) I/dalvikvm( 312): "Thread-8" prio=5 tid=7 NATIVE I/dalvikvm( 312): | group="main" sCount=0 dsCount=0 s=N obj=0x43e40090 self=0x225260 I/dalvikvm( 312): | sysTid=332 nice=0 sched=0/0 cgrp=default handle=2183472 I/dalvikvm( 312): | schedstat=( 9266339 26373662 8 ) I/dalvikvm( 312): at dalvik.system.NativeStart.run(Native Method) I/dalvikvm( 312): E/dalvikvm( 312): VM aborting Has anyone seen this error? I couldn't find anywhere on google about this. I am new to java and so to JNI so don't know what exactly is going wrong. Can anyone help me? Thanks. P.S. Its a little bit urgent. :) -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

