When I execute the "add android cordova platform", the command returns this:
Error: /Users/brieuc/.cordova/lib/android/cordova/3.6.4/bin/create: command with EACCES exit code failed on ChildProcess.whenDone (/ usr / local / lib / node_modules / cordova / node_modules / cordova- lib / src / cordova / superspawn.js: 135: 23) in ChildProcess.emit (events.js: 95: 17) in Process.ChildProcess._handle.onexit (child_process.js: 818: 12)
I read that this could be a resolution problem, so I tried using the "sudo cordova platform add android", but the same error is returned.
I also tried using chmod 777 in the folder with the folder and platforms of my projects.
I tried to delete the platform folder, the folder was recreated, then the same error is returned.
For your information, the commands "java", "ant", "cordova", "npm" are recognized.
My only suggestion is that my SDK Path is wrong.
Here is what I did:
(I'm on Mac Yosemite for info)
I downloaded standalone SDK tools.
I created the / Development / Android folder and added the unzipped downloaded folder (android-sdk-macosx).
For your information, the "platform" folder is empty.
I added the path to / Development / Android / android -sdk-macosx / tools in / etc / path
I'm not sure if he should be here, any tips or solutions would be appreciated.