title: Unexpected error occurred when tried to create an Android project with phonegap-2.8.1 on mac os x
body: <p>I get the error when tried to create an android project with phonegap latest version on mac mini. I followed the getting stared docs provided by cordova. I also edited my bash profile and included android sdk tools and platform-tools path. </p>
  
  <p>But when execute the ./create command I got that error</p>
  
  <pre><code>    An unexpected error occurred: "$ANDROID_BIN" create project --target $TARGET --path "$PROJECT_PATH" --package $PACKAGE --activity $ACTIVITY &gt;&amp;/dev/null exited with 1
  Deleting project...
  </code></pre>
  
  <p>I don't figured out the reason of this error. please help me...</p>
  
  <p>I have read some similar post in stackoverflow but their solutions didn't help me.</p>
  
  <p>Thanks.</p>