Ionic 2 build android Error: spawn EACCES

hello, I have a problem in time to give the build on a project ionic 2 with android platform
The error is this:

Error: spawn EACCES

I’ve tried these alternatives:

chmod 777 -R ~/android
chmod +x hooks/after_prepare/010_add_platform_class.js

So far none of these alternatives helped me.
Please someone help me?