Sometimes this unexpected message appear and the only way to deal with this is to restart the pc and when it starts again go to the obove path and delete the file before start Android Studio with the project. It works for some time but latter appears again. Maybe someone of you know how deal better with this annoying issue.
CreateProcess error=206, El nombre del archivo o la extensión es demasiado largo
Caused by: java.lang.AssertionError: Could not delete caches dir YourProjectPath\build\kotlin\compileDebugTestingKotlin

