Source: http://stackoverflow.com/questions/33900330/error-while-compiling-app
Gradle will sometimes leave a gradle-daemon running that can hold locks on your project files. The directory indicated C:\Users\prasid444.gradle\caches\modules-2 is a cache directory for temporary files.
You can move/remove the folder and try the build again. (Move it to a temporary location in case you have cached files that may be hard to obtain, which should not happen, or you simply want piece of mind while fixing this problem.)
Also, there may be references to files in a .lock file somewhere. You can try a gradle clean build command or just move/remove everything in C:\Users\prasid444.gradle\caches
GNU/Linux, Windows 관례없이 HOME directory 에서 .gradle directory 를 삭제 후 rebuild
즉, 질문자의 경우, Windows 의 HOME directory C:/Users/KKJ 에서 .gradle directory 를
삭제하고 rebuild.
i hope this may help you.