title: Cordova : Command failed with exit code EACCES
body: <p>When i'm executing "cordova platform add android" the command return this :</p>
  
  <blockquote>
    <p>Error: /Users/brieuc/.cordova/lib/android/cordova/3.6.4/bin/create: Command failed with exit code EACCES
        at ChildProcess.whenDone (/usr/local/lib/node_modules/cordova/node_modules/cordova-lib/src/cordova/superspawn.js:135:23)
        at ChildProcess.emit (events.js:95:17)
        at Process.ChildProcess._handle.onexit (child_process.js:818:12)</p>
  </blockquote>
  
  <p>I've read that it could be a problem of permission so i've tried to use "sudo cordova platform add android" but the same error is returned.</p>
  
  <p>I also tried to use chmod 777 on my project folder and platforms folder. </p>
  
  <p>I tried to remove the platforms folder, the folder is recreated then same error is returned.</p>
  
  <p>For your information, the commands "java", "ant", "cordova", "npm" are all recognize.</p>
  
  <p>My only guess is that my Path to the SDK is wrong.</p>
  
  <p>Here what i've done :</p>
  
  <p>(I'm on Mac Yosemite for the information)</p>
  
  <p>I downloaded the Standalone SDK tools.</p>
  
  <p>I created a folder /Development/Android and added the unzipped downloaded folder (android-sdk-macosx).</p>
  
  <p>For your information the "platforms" folder is empty.</p>
  
  <p>i added to the /etc/paths the path to /Development/Android/android-sdk-macosx/tools</p>
  
  <p>I'm not sure it should be here, any hints or solutions would be appreciated.</p>