docs
严重错误:构建cocos2d-x时找不到“ ccLuaEngine.h”文件(点击图片放大)
我不知道是什么原因导致了这个问题,图片的细节有误。
android.mk:
LOCAL_PATH:= $(call my-dir)
include $(CLEAR_VARS)
$(call import-add-path,$(LOCAL_PATH)/../../../cocos2d-x)
$(call import-add-path,$(LOCAL_PATH)/../../../cocos2d-x/external)
$(call import-add-path,$(LOCAL_PATH)/../../../cocos2d-x/cocos)
LOCAL_MODULE := cocos2dlua_shared
APP_ALLOW_MISSING_DEPS=true
LOCAL_MODULE_FILENAME := libcocos2dlua
FILE_LIST += $(wildcard $(LOCAL_PATH)/Classes/NativeInterface.cpp)
LOCAL_SRC_FILES := $(FILE_LIST:$(LOCAL_PATH)/%=%)
LOCAL_C_INCLUDES += $(LOCAL_PATH)/Classes
LOCAL_WHOLE_STATIC_LIBRARIES := cocos2dx_static
LOCAL_WHOLE_STATIC_LIBRARIES += cocosdenshion_static
LOCAL_WHOLE_STATIC_LIBRARIES += cocos_extension_static
LOCAL_STATIC_LIBRARIES += bugly_crashreport_cocos_static
LOCAL_STATIC_LIBRARIES += bugly_agent_cocos_static_lua
LOCAL_WHOLE_STATIC_LIBRARIES += mc_kernel_static
LOCAL_WHOLE_STATIC_LIBRARIES += android_support
include $(BUILD_SHARED_LIBRARY)
$(call import-module,curl/prebuilt/android)
$(call import-module,scripting/lua-bindings/proj.android)
$(call import-module,tools/simulator/libsimulator/proj.android)
$(call import-module,android/support)