1,编写Jni代码
public native String getValue();
2,javac 生成.class文件
3,javah c生成.h文件
4,编写c文件
5,编写mk文件
6,ndkbuilde 生成so库