|Porting Gingerbread application to ICS with JNI||Salih||10/4/12 5:40 AM|
I am trying to port the Gingerbread CAN application in ICS with JNI calls. While running my application in my target system its hanging. I am getting the below error.
E/dalvikvm(662): JNI ERROR (app bug): attempt to use stale local reference 0x1
W/dalvikvm(662): JNI WARNING: invalid reference returned from native code
W/dalvikvm(662): in Lcan/example/android/CanportReceive;.get:()Ljava/lang/String;
Can anybody suggest me any solution to solve this. The attached files are my java and JNI files.
Thanks in advance,