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)
0

#106

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

#107

@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.


#108

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


#109

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


#110

@drelaptop thanks. I knew we had this.


#111

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