Home > Mobile >  How can i get rid of this error FileNotFoundException
How can i get rid of this error FileNotFoundException

Time:09-16

C:\Users\HP\AndroidStudioProjects\MyApplication7\app\build\intermediates\incremental\packageDebug\tmp\debug\zip-cache\androidResources (Access is denied)

// i dont understand why this is not working, someone help me

CodePudding user response:

This is a permissiosn problem. Run android studio as administrator. Right click on the Android Studio icon and Run as adinistrator

If you're on a mac use sudo to give permissions

CodePudding user response:

Try This

Goto File -> Invalidate caches / Restart

Shutdown Android Studio

Remove/Delete .gradle folder in the user home directory

Restart Android Studio (It will download gradle metadata and data)

Gradle build succeed

Rebuild project. Done.

  • Related