title: Android NDK: Invalid APP_STL value: c++_static
body: <p>I try to compile Cococs2d-x android projects ...</p>
  
  <pre><code>$ cd /Users/ahmadayman/Documents/games/game01/proj.android
  $ python ./build_native.py
  </code></pre>
  
  <p>And i got the following error!</p>
  
  <pre><code>The Selected NDK toolchain version was 4.8 !
  Android NDK: Invalid APP_STL value: c++_static  
  
  Android NDK: Please use one of the following instead:  system stlport_static stlport_shared gnustl_static gnustl_shared gabi++_static gabi++_shared none 
  
  make: Entering directory `/Users/ahmadayman/Documents/games/game01/proj.android'
  /Users/ahmadayman/android-ndk-r9/build/core/add-application.mk:254: *** Android NDK: Aborting    .  Stop.
  
  make: Leaving directory `/Users/ahmadayman/Documents/games/game01/proj.android'
  Traceback (most recent call last):
  
  File "./build_native.py", line 159, in &lt;module&gt;
  build(opts.ndk_build_param,opts.android_platform,opts.build_mode)
  File "./build_native.py", line 146, 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 82, in do_build
  raise Exception("Build dynamic library for project [ " + app_android_root + " ] fails!")
  Exception: Build dynamic library for project [ 
  /Users/ahmadayman/Documents/games/game01/proj.android ] fails!
  </code></pre>
  
  <p>And also when i run this command...</p>
  
  <pre><code>$ ndk-build
  Android NDK: Invalid APP_STL value: c++_static    
  Android NDK: Please use one of the following instead:  system stlport_static stlport_shared gnustl_static gnustl_shared gabi++_static gabi++_shared none    
  /Users/ahmadayman/android-ndk-r9/build/core/add-application.mk:254: *** Android NDK: Aborting    .  Stop.
  </code></pre>