When i'm executing "cordova platform add android" the command return this :
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)
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.
I also tried to use chmod 777 on my project folder and platforms folder.
I tried to remove the platforms folder, the folder is recreated then same error is returned.
For your information, the commands "java", "ant", "cordova", "npm" are all recognize.
My only guess is that my Path to the SDK is wrong.
Here what i've done :
(I'm on Mac Yosemite for the information)
I downloaded the Standalone SDK tools.
I created a folder /Development/Android and added the unzipped downloaded folder (android-sdk-macosx).
For your information the "platforms" folder is empty.
i added to the /etc/paths the path to /Development/Android/android-sdk-macosx/tools
I'm not sure it should be here, any hints or solutions would be appreciated.