I usually "solve" this kind of issues by using a fresh install of Android Studio, but that's the only recommendation I could give.
Marina On Wed, Aug 9, 2017 at 2:39 AM, Husain Al-Haboubi <[email protected]> wrote: > Anyone? > > On Tuesday, August 8, 2017 at 11:35:34 AM UTC-5, Husain Al-Haboubi wrote: >> >> Hello developers, >> >> I am having a problem lately with Android Studio ever since I updated to >> 2.3.3. I have searched all the forums for possible solutions. Some say I >> need to open Android Studio in Administration Mode, others say that I just >> need to clean the project once! >> >> The error occurs when I try to run or build a project. Here is error >> message: >> >> Error:Execution failed for task ':directoryPicker:processRelea >> seResources'. >> > java.io.IOException: Could not delete path >> 'C:\Users\XXXXXXX\Desktop\XXXXXXXXX\XXXXXXXXX\directoryPicke >> r\build\generated\source\r\release\android\support\compat'. >> >> >> Every time I want to build or run the project, I have to "Build > Clean >> project" and sometimes I need to close and reopen AS. This happens to all >> my projects and not only one project. I did the following: >> >> 1. Ran Android Studio in Administration mode >> 2. Deleted the build folder >> 3. Restarted the computer and Android Studio >> >> >> But no luck! Any idea on how to resolve this issue? >> >> Please be informed that the file path varies. Sometimes it's >> "android\support\compact" and sometimes it's something else! >> > -- > You received this message because you are subscribed to the Google Groups > "Android Developers" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To post to this group, send email to [email protected]. > Visit this group at https://groups.google.com/group/android-developers. > To view this discussion on the web visit https://groups.google.com/d/ > msgid/android-developers/e9c92547-52eb-47cb-b1e1- > fd765d84e06c%40googlegroups.com > <https://groups.google.com/d/msgid/android-developers/e9c92547-52eb-47cb-b1e1-fd765d84e06c%40googlegroups.com?utm_medium=email&utm_source=footer> > . > > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/android-developers. To view this discussion on the web visit https://groups.google.com/d/msgid/android-developers/CACaNmX1nvUjeObWYW4rCgdb8jxbmLa7B6uTFgF1E5pqNsQFKVQ%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.

