1.设置NDK路径.
2.添加:android.useDeprecatedNdk=true
3.创建Jni,创建native方法.
4.javah -d jni -classpath [sdk_src];....\..\build\intermediates\classes\debug [packagename.classname].
1.设置NDK路径.
2.添加:android.useDeprecatedNdk=true
3.创建Jni,创建native方法.
4.javah -d jni -classpath [sdk_src];....\..\build\intermediates\classes\debug [packagename.classname].