Although this question is asked many times but none of the solutions worked for me. I have declared NDK_MODULE_PATH as well but still i get this error:
Android NDK: jni/Android.mk: Cannot find module with tag 'extensions' in import path
Android NDK: Are you sure your NDK_MODULE_PATH variable is properly defined ?
Android NDK: The following directories were searched:
Android NDK:
jni/Android.mk:43: *** Android NDK: Aborting. . Stop.
My android.mk files looks like this:
LOCAL_WHOLE_STATIC_LIBRARIES := cocos2dx_static cocosdenshion_static
LOCAL_WHOLE_STATIC_LIBRARIES += ezibyte_social_static
LOCAL_WHOLE_STATIC_LIBRARIES += box2d_static
LOCAL_WHOLE_STATIC_LIBRARIES += cocos_extension_static
include $(BUILD_SHARED_LIBRARY)
$(call import-module,extensions)
$(call import-module,CocosDenshion/android)
$(call import-module,cocos2dx)
$(call import-module,ezibyte/ezisocial/android)
Please anyone help me
I hope this link helps you.
The role of NDK_MODULE_PATH
NDK_MODULE_PATH is a very important variable, when the android.mk is used in the $(call import-module, XXX) function into external libraries will be used, to indicate where to find this file. If NDK_MODULE_PATH is not set or not set correctly. Compile time error Are is you sure your NDK_MODULE_PATH variable is properly defined.
Setting and format of NDK_MODULE_PATH
NDK_MODULE_PATH is an environment variable, variable settings is not android.mk. NDK_MODULE_PATH multiple paths for colon segmentation. Not a semicolon! And the whole string with no whitespace. Not in the correct format can be error above the wrong.
Method of setting NDK_MODULE_PATH
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With