window->preferences->Android->NDK,选择你的NDK位置
project->Properties->Builder->New
在main的location选择/home/user/android-ndk-r8b/ndk-build(NDK文件中的ndk-build)
在main的working Directory选择需要编译的工作目录
在refresh中选择specific resources,选择项目目录下的libs
在Build Options中选择specify working set of relevant resources,在specify resources中选择目录下的JNI