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

后端 未结 7 1515
青春惊慌失措
青春惊慌失措 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 19:06

    Check

    build_native.sh  > **COCOS2DX_ROOT="$DIR/../../.."**
    

    ex)

    Project Name : FirstExam
    
    c:\cocos2d-x\FirstExam ==> **COCOS2DX_ROOT="$DIR/../.."**
    
    c:\cocos2d-x\example\FirstExam ==> **COCOS2DX_ROOT="$DIR/../../.."**
    

提交回复
热议问题