i am using Mac with latest version of ionic 3. i created a new blank project then added platform for android only. and then i run the build command for android and it produced the following error
ANDROID_HOME=/Users/erp/Library/Android/sdk
JAVA_HOME=/Library/Java/JavaVirtualMachines/jdk1.8.0_144.jdk/Contents/Home
Error: spawn EACCES
[ERROR] An error occurred while running cordova build android (exit code 1).
please help me fix this problem. what i am doing wrong?
Thanks in advacne