title: Set Up Cocos2d-X For Android On Mac
body: <p>I'm new to cocos2d-X.I'm trying to set up cocos2d-x for android and I exactly followed below <a href="https://www.youtube.com/watch?v=2LI1IrRp_0w&amp;index=2&amp;list=PLRtjMdoYXLf4od_bOKN3WjAPr7snPXzoe" rel="nofollow">video</a> tutorial</p>
  
  <p>I failed the steps in terminal with problem (python setup.py command result is not as expected).</p>
  
  <p>For example when I begin to setup in terminal I get the following error.</p>
  
  <pre><code> -&gt;Please enter the path of NDK_ROOT (or press Enter to skip):/Users/apple/Documents/Development/Cosos2d-x/android-ndk-r9d 
  -&gt;Error: "/Users/apple/Documents/Development/Cosos2d-x/android-ndk-r9d " is not a valid path of NDK_ROOT. Ignoring it.
  -&gt;Check environment variable ANDROID_SDK_ROOT
  -&gt;Search for environment variable ANDROID_SDK_ROOT...
  -&gt;ANDROID_SDK_ROOT not found
  
  -&gt;Search for command android in system...
  -&gt;Command android not found
  </code></pre>
  
  <p>The same above error happening for setup path ANDROID_SDK_ROOT and ANT_ROOT.</p>
  
  <p>How can I fix the problem? Thanks for get me out.</p>
  
  <p>I'm working on</p>
  
  <ul>
  <li>Mac OS 10.9.5 </li>
  <li>android-ndk-r9d </li>
  <li>apache-ant-1.9.4  </li>
  <li>cocos2d-x-3.3</li>
  <li>adt-bundle-mac-x86_64-20140321</li>
  </ul>