title: Creating new, first, phonegap Android project on mac returns error: ANDROID_BIN="${ANDROID_BIN:=$( which android )}" exited with 1
body: <p>I installed the all the recommended programs from <a href="http://docs.phonegap.com/en/2.6.0/guide_getting-started_android_index.md.html#Getting%20Started%20with%20Android" rel="nofollow">PhoneGap's Getting Started Guide</a> and followed the various steps. </p>
  
  <p>I created the <strong>.bash_profile</strong> file and it looks like this:</p>
  
  <pre><code>export PATH=${PATH}:/Development/android-sdk-mac/sdk/platform-tools:/Development/android-sdk-mac/sdk/tools
  </code></pre>
  
  <p>The Development folder is located on my desktop. Upon navigating in terminal to my <code>bin</code> directory and creating a new PhoneGap project, i did like so:</p>
  
  <pre><code>./create /Users/joey/PhoneGapExample nl.symvoli.phonegapExample PhoneGapDemo
  </code></pre>
  
  <p>I get the following error:</p>
  
  <pre><code>An unexpected error occurred: ANDROID_BIN="${ANDROID_BIN:=$( which android )}" exited with 1
  Deleting project...
  </code></pre>
  
  <p>I searched around what might cause this problem and everything seems to be pointing to value of the $PATH environment variable. When i ran <code>echo $PATH</code> in my terminal, it returns this:</p>
  
  <pre><code>/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/Development/android-sdk-mac/sdk/platform-tools:/Development/android-sdk-mac/sdk/tools
  </code></pre>
  
  <p>Any help would be much appreciated. </p>
  
  <p>I'm on a Mac, running Mac OSX 10.8.3</p>