Update: We need help testing v3.17 (it's only a few weeks away)

Update: We need help testing v3.17 (it's only a few weeks away)


Prebuilt has been created, but i am having issues in integrating it in android project. i am getting errors when i compile it says “cant find Cocos2d.h”

here is my android.mk file content

LOCAL_PATH := $(call my-dir)
COCOS_ROOT := /Volumes/DATA/cocos2d-x/cocos2d-x_3.17_old

include $(CLEAR_VARS)

$(call import-add-path,$(COCOS_ROOT))
$(call import-add-path,$(COCOS_ROOT)/cocos)
$(call import-add-path,$(COCOS_ROOT)/cocos/external)
$(call import-add-path,$(COCOS_ROOT)/cocos/audio/include)

LOCAL_MODULE := MyGame_shared


LOCAL_SRC_FILES :=  $(LOCAL_PATH)/hellocpp/main.cpp \
                    $(LOCAL_PATH)/../../../Classes/AppDelegate.cpp \

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


LOCAL_STATIC_LIBRARIES := cocos2dx_static



#$(call import-add-path, $(LOCAL_PATH)/../../../cocos2d)
#$(call import-module, cocos)
$(call import-module, prebuilt/android)



@drelaptop may have some quick advice. Search these forums some more. I recall reading a thread recently about folks getting this working. Perhaps I can find it again too.


thanks, i am looking for multiple thread and applying various solutions. if any solution works will post it here as well.
@drelaptop looking for your advice as well


@aqeeliqbal above is the example, it include both Android.mk you can refer to.


@drelaptop thanks. I knew we had this.


yes followed exactly this thread. but not working. Cant set the paths right i guess.