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

后端 未结 7 1557
青春惊慌失措
青春惊慌失措 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/../../.."**
    
    0 讨论(0)
提交回复
热议问题