# Error: 'failed to create directory'

**URL:** <https://discourse.processing.org/t/error-failed-to-create-directory/7953>\
**Category:** Processing for Android\
**Created:** [January 30, 2019, 12:37am UTC](https://discourse.processing.org/t/error-failed-to-create-directory/7953 "2019-01-30T00:37:07Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![kfrajer](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/kfrajer/32/196_2.png) [@kfrajer](https://discourse.processing.org/u/kfrajer)\
**Post date:** [January 30, 2019, 5:46am UTC](https://discourse.processing.org/t/error-failed-to-create-directory/7953/2 "2019-01-30T05:46:50Z")

</div>

> [@iampadik](#):
>
> :app:processDebugResourceserror: failed to create directory ‘C:\Users\Abhay.IAMPADIK\AppData\Local\Temp\android6071948762103051950sketch\app\build\generated\source\r\debug\processing\test\sketch\_190130a’.

I would say it is permissions to write in the directory as I quote above. Can you run your code again and when it fails, go to the directory similarly to the one shown above and see if you have proper writing permission on that folder? (Does the folder actually exist?)

Check this as it might help: [Building problem - #15 by iampadik](https://discourse.processing.org/t/building-problem/2732/15)

Kf

---

_[View the full topic](https://discourse.processing.org/t/error-failed-to-create-directory/7953)._
