Hi there.
I’m in problem with compile.
I made a game with cocos studio.
I use Cocos2d-x ver 3.6 and Cocos Studio ver 2.1.
Debug in Visual Studio was OK…
But In compile to android, I got a message.
==
Android NDK: C:\Cocos\frameworks/cocos2d-x-3.6/external/zlib/prebuilt/android/Android.mk: Cannot find module with tag ‘audio/android’ in import path
android NDK: Are you sure your NDK_MODULE_PATH variable is properly defined?
Android.mk file caused this error…
It said “Can’t find Audio’s Lib directory”
Is there any difference in Cocos2d-x’s compile method?
Here is a my Android.mk…
======
LOCAL_PATH := $(call my-dir)
include $(CLEAR_VARS)
LOCAL_MODULE := cocos2dcpp_shared
LOCAL_MODULE_FILENAME := libcocos2dcpp
FILE_LIST := $(wildcard $(LOCAL_PATH)/…/…/Classes/*.cpp)
LOCAL_SRC_FILES := $(FILE_LIST:$(LOCAL_PATH)/%=%)
LOCAL_SRC_FILES += hellocpp/main.cpp
LOCAL_C_INCLUDES := $(LOCAL_PATH)/…/…/Classes
LOCAL_STATIC_LIBRARIES := cocos2dx_static
LOCAL_STATIC_LIBRARIES += cocosdenshion_static
LOCAL_STATIC_LIBRARIES += extensions_static
include $(BUILD_SHARED_LIBRARY)
$(call import-module,./prebuilt-mk)
$(call import-module,audio/android)
$(call import-module,extensions)
===
Thank you for reading 