Compilation error on hello world example

Compilation error on hello world example
0

#1

Hi, i just downloaded the beta of cocos2d-x and tried to build the android hello world example after setting all env. vars correctly.

This is my result:

sytrox@R2D2(/home/sytrox/Downloads/cocos2d-x/template/multi-platform-cpp/proj.android):./build_native.py 
The Selected NDK toolchain version was 4.8 !
Android NDK: WARNING: Ignoring unknown import directory: /data/Programme/cocos2d-x/template/multi-platform-cpp/proj.android/../cocos2d    
Android NDK: WARNING: Ignoring unknown import directory: /data/Programme/cocos2d-x/template/multi-platform-cpp/proj.android/../cocos2d/external    
Android NDK: WARNING: Ignoring unknown import directory: /data/Programme/cocos2d-x/template/multi-platform-cpp/proj.android/../cocos2d/cocos    
Android NDK: jni/Android.mk: Cannot find module with tag '2d' in import path    
Android NDK: Are you sure your NDK_MODULE_PATH variable is properly defined ?    
Android NDK: The following directories were searched:    
Android NDK:         
make: Entering directory `/data/Programme/cocos2d-x/template/multi-platform-cpp/proj.android'
jni/Android.mk:22: *** Android NDK: Aborting.    .  Stop.
make: Leaving directory `/data/Programme/cocos2d-x/template/multi-platform-cpp/proj.android'
Traceback (most recent call last):
  File "./build_native.py", line 166, in <module>
    build(opts.ndk_build_param,opts.android_platform,opts.build_mode)
  File "./build_native.py", line 153, in build
    do_build(cocos_root, ndk_root, app_android_root,ndk_build_param,sdk_root,android_platform,build_mode)
  File "./build_native.py", line 89, in do_build
    raise Exception("Build dynamic library for project [ " + app_android_root + " ] fails!")
Exception: Build dynamic library for project [ /data/Programme/cocos2d-x/template/multi-platform-cpp/proj.android ] fails!

this is what i have added to my .bashrc

export NDK_ROOT='/home/sytrox/Downloads/android-ndk-r9c'
export ANDROID_SDK_ROOT='/data/Programme/adt-bundle-linux-x86_64-20131030/sdk'
export NDK_TOOLCHAIN_VERSION='4.8'
export COCOS2DX_ROOT='/home/sytrox/Downloads/cocos2d-x'
export NDK_MODULE_PATH='/home/sytrox/Downloads/cocos2d-x/cocos'
PATH=${PATH}:$ANDROID_SDK_ROOT/tools
PATH=${PATH}:$ANDROID_SDK_ROOT/platform-tools

all paths are correct referenced

kind regards
sytrox