Ionic Build- Error: spawn EACCES


#1

I see new problem while building the android in OSX.

Please let me know the solution for this.

Logs:

(node:26466) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 1): Error: spawn EACCES
(node:26466) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.

Also correct me if my java and android home paths are wrong.

ANDROID_HOME=/Users/vinaykumar/Library/Android/sdk
JAVA_HOME=/Library/Java/JavaVirtualMachines/jdk1.8.0_151.jdk/Contents/Home


#2

hey sorry

this solution in below link solved my problem