Hello all,
I am starting cocos2dx.
I followed tutorial to set up iOS/android cross-platform development
when I tried to build android native code with build_native.sh, it says please define NDK_ROOT
but I already defined NDK_ROOT
Yeah I have the same problem I don’t know where to define the NDK_ROOT in the build_native.sh file. I am using windows 7.
It was clearly mentioned in the previous version.
Anyone know the problem to this question?
I clearly have NDK_ROOT defined
I am using cocos2dx-2.0.3
Right now, I have no choice but to test the android project on a Windows PC, but I want to be able to test android project on Mac
Hello all,
I am starting cocos2dx.
I followed tutorial to set up iOS/android cross-platform development
when I tried to build android native code with build_native.sh, it says please define NDK_ROOT
but I already defined NDK_ROOT
>
echo $NDK_ROOT
/Users/kevin0228ca/Documents/SDK/android-ndk
>
I should have NDK_ROOT set up, right?
can anyone figure out what might be the problem?
I am using ndk-r8b
thanks
Hello!
I am using ndk-r8c and cocos2dx-2.0.4 and I have the same issue… Any idea?
to resolve : please define NDK_ROOT
in eclipse project=>properties=>C/C++Build=>Environment
click on “add”
name=NDK_ROOT
value=/your_path/android-ndk-r9b
e.g.
value=/home/NDK_r9b/android-ndk-r9b