eclipse导入cocos2d-js项目可以运用但点击jni下的main.cpp项目报错

eclipse导入编译后的cocos-js项目后可以正常运行,但是点击jni/hellojavascript/main.cpp就报错 Type ‘JNIEnv’ could not be resolved Function ‘__android_log_print’ could not be resolved 导致项目无法运行