Androd JNI dalvikvm(759): ERROR: couldn't find native method
http://www.drovik.com/ 2013-6-4 10:25:47 来源:www.drovik.com 点击:
Android jni执行RegisterNatives方法时抛出ERROR: couldn't find native methodRequested: Lcom/xx/xx/XXX;.aa:(Ljava/lang/String;)V异常的解决方法:
只需要在java文件中声明譬如:public static native void aa(String name);的方法即可。
发表评论(0)