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_MODULE_FILENAME := libMyGame

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

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

# _COCOS_HEADER_ANDROID_BEGIN
# _COCOS_HEADER_ANDROID_END


LOCAL_STATIC_LIBRARIES := cocos2dx_static

# _COCOS_LIB_ANDROID_BEGIN
# _COCOS_LIB_ANDROID_END

include $(BUILD_SHARED_LIBRARY)

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

# _COCOS_LIB_IMPORT_ANDROID_BEGIN
# _COCOS_LIB_IMPORT_ANDROID_END

@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

https://discuss.cocos2d-x.org/t/cocos2dx-v3-17-prebuilt-mk-is-not-generated/42670/9?u=drelaptop

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

1 Like

@drelaptop thanks. I knew we had this.

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