No such .h file or directory(Android, Cocos2d-x, NDK)

I am using an open source library to implement the facebook share features with cocos2d-x.
However, when I integrated with android, I have a problem that cannot load the .h file in “jni/screw” folder.
enter image description here

enter image description here

the file structure:

enter image description here

here it is my

    LOCAL_PATH := $(call my-dir)

    include $(CLEAR_VARS)

    $(call import-add-path,$(LOCAL_PATH)/../../cocos2d)
    $(call import-add-path,$(LOCAL_PATH)/../../cocos2d/external)
    $(call import-add-path,$(LOCAL_PATH)/../../cocos2d/cocos)

    LOCAL_MODULE := cocos2dcpp_shared

    LOCAL_MODULE_FILENAME := libcocos2dcpp

    CPP_FILES := $(shell find $(LOCAL_PATH)/../../Classes -name *.cpp)
    LOCAL_SRC_FILES := hellocpp/main.cpp

    LOCAL_C_INCLUDES := $(LOCAL_PATH)/../../Classes 


    LOCAL_STATIC_LIBRARIES := cocos2dx_static
    LOCAL_WHOLE_STATIC_LIBRARIES += cocos2dx_store_static


    $(call import-module,.)
    $(call import-module, extensions/cocos2dx-store)


How to solve? Thanks!

reference library screw:

Source: facebook

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.