Native method not found

后端 未结 1 1488
春和景丽
春和景丽 2021-01-27 18:41

I have a small JNI file with a native function that converts a char array to a byte array (So i can send it to my C++ client).

The definition is as followed:

<         


        
相关标签:
1条回答
  • 2021-01-27 19:17

    the native method name should match the class full name: Java_com_example_communicationmoduleTCPIP_communicationmoduleTCPIP_ConvertString

    0 讨论(0)
提交回复
热议问题