“cannot find module with tag 'CocosDenshion/android' in import path” error in cocos2dx app

后端 未结 7 1559
青春惊慌失措
青春惊慌失措 2021-02-18 18:35

I am trying to compile Android native application developed on cocos2d-x. When i Try to debug my application i get the following error.

Android NDK: jni/Android.         


        
7条回答
  •  无人共我
    2021-02-18 18:46

    You'll need to define your NDK_MODULE_PATH to the folder that contains "CocosDension/Android" folder.

    So for example if you define NDK_MODULE_PATH += /cygdrive/c/ndk_modules

    you will need to put your cocos dension here: /cygdrive/c/ndk_modules/CocosDension/Android/Android.mk

    Checkout this documentations:

    https://docs.google.com/document/d/127ZkklXDyknjKAIVAos-DWI9nZSB3uKmTI84lk1TJ9k/edit

    https://android.googlesource.com/platform/ndk/+/675fe49445e65ba44d91f4d85ed9b4d5b5ff6745/docs/IMPORT-MODULE.TXT

提交回复
热议问题