1. java文件路径:
/Users/xuye/StudioProjects/ChatUI/app/src/main/java/com/im/MessageClient.java
2. 包名是:
package com.im;
3. 进入路径:
cd /Users/xuye/StudioProjects/ChatUI/app/src/main/java/
4. 运行如下命令生成jni头文件
javac com/im/MessageClient.java
javah com.im.MessageClient