I am following the videos step by step and this is the error message that I am getting

Error:Could not open no_initscript class cache for initialization script 'C:\Users\mthompson\AppData\Local\Temp\asLocalRepo3.gradle' (\\fs1\Redirected\mthompson\.gradle\caches\2.4\scripts\asLocalRepo3_67riq63bh0f9illggq9qk1uio\InitScript\no_initscript).

I made sure to direct the JAVA_HOME environmet variable to my jdk location I have installed associated files in the SDK Manager as well.

What am I doing wrong?