This is my step by step when I ran out example of HelloCpp cocos2d-x project for Android on linux operating system. Here, I use openSUSE 12.3 or fedora 19 64-bit (dual boot).
1. Install Eclipse + Android SDK + Android NDK
2. Setting path NDK_ROOT
- Open .bash_profile file
- Add NDK_ROOT to .bash_profile file
1. Install Eclipse + Android SDK + Android NDK
2. Setting path NDK_ROOT
- Open .bash_profile file
vim /home/kirman/.bash_profile [enter]
- Add NDK_ROOT to .bash_profile file
export NDK_ROOT=/home/kirman/android-ndk-r8d