Android - Unit test on the class that calls JNI functions?
I am working on an 2.2 android platform, and I have a java class that gathers a list of JNI functions.
Now I am going to do the unit test on this class, but my IDE wont let me with this error msg: "java.lang.UnsatisfiedLinkError: no nativeI开发者_JAVA技巧nterface in java.library.path"
Is there any setting or things that I should do before I do the unit test on this kind of class?
Thanks in advance.
--Terry
I think you don't have the JNI folder and all the native files (.c
, .h
) in your project.
精彩评论