I wanted to tell you about my problem since I'm a bit new to this and I still don't understand much about Android Studio. Every time I create a new project in Android Studio I get the following error, it doesn't matter where I save the project, I've already tried changing several destination folders but it doesn't work, this is the problem.
Error:C:\Users\NICOLAS\.gradle\caches\2.4\scripts\asLocalRepo41_6c5ymcule2hvs0zk7phnqe614\InitScript\initscript\cache.properties (The system cannot find the specified file)
Thank you very much.
This error for those with the English version is also displayed as:
To fix it go to:
Delete the folders
\2.4
and\2.8
(or those of the previous version that you have installed)Reboot
Android Studio
and just sync the Gradle files back to your project.The error still occurs in recent versions and in case the previous answer doesn't work, remove the file
"buildOutputCleanup.lock"
:As well as version folders.