2013年9月24日星期二

Android NDK sample program run unsuccessful

Hello-jni As stated , are learning to use the NDK , and then follow the online tutorial library files can be generated so
but each time you run the program will be given,
I use NDK-R9 version , I am surprised with the javah generated header file in which c · · I am currently in jni folder


· the specific needs of this error how to solve ah ? ?

------ Solution ------------------------------------ --------
native method does not find , you look over there java in JNI native method is implemented in , or check whether the correct method name written
----- - Solution --------------------------------------------
methods not found, look how your methods are mapped
------ Solution ---------------------------- ----------------
name is not mapped right, or did not load so
------ For reference only ---------- -----------------------------
ah , looked indeed like to thank you for the reply . Results posted ~

没有评论:

发表评论