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.
You have to change this line in "build_native.sh"
COCOS2DX_ROOT="$DIR/../.."
depending on the location of your android project based on cocos2d-x root. For example if your your android project path is : C:\cocos2d-x\Projects\ProjectName\proj.android then
COCOS2DX_ROOT="$DIR/../../.."
(you have to go three steps back to get to the root of cocos2d-x)
but if your project path is C:\cocos2d-x\ProjectName\proj.android then
COCOS2DX_ROOT="$DIR/../../.."
(you have to go two steps back to get to the root of cocos2d-x)
hope that helps