# Ionic 2 build android Error: spawn EACCES

**URL:** <https://forum.ionicframework.com/t/ionic-2-build-android-error-spawn-eacces/60408>\
**Category:** ionic-v3\
**Created:** [August 12, 2016, 6:06pm UTC](https://forum.ionicframework.com/t/ionic-2-build-android-error-spawn-eacces/60408 "2016-08-12T18:06:53Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![lucascardoso](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/lucascardoso/32/119682_2.png) [@lucascardoso](https://forum.ionicframework.com/u/lucascardoso)\
**Post date:** [August 12, 2016, 6:06pm UTC](https://forum.ionicframework.com/t/ionic-2-build-android-error-spawn-eacces/60408/1 "2016-08-12T18:06:53Z")

</div>

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

```auto
Error: spawn EACCES

```

I’ve tried these alternatives:

```auto
chmod 777 -R ~/android

```

```auto
chmod +x hooks/after_prepare/010_add_platform_class.js

```

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