So I got on today and suddenly my project wouldnt build. Got an error saying JDK was too new, replaced out the right JDK and then I got a Gradle error. So, I installed gradle and now I get this.
PS C:\Users\Admin\new1\hello> cordova build android
Checking Java JDK and Android SDK versions
ANDROID_SDK_ROOT=undefined (recommended setting)
ANDROID_HOME=C:\Users\Admin\AppData\Local\Android\sdk (DEPRECATED)
BUILD SUCCESSFUL in 3s
1 actionable task: 1 executed
Subproject Path: CordovaLib
Subproject Path: app
Deleting directory C:\Users\Admin.gradle\wrapper\dists\gradle-4.10.3-all\81msde2dx9p4vji0mjgtvxkcb\gradle-4.10.3
If I delete the file its trying to delete it just downloads it again and doesnt do anythng.
Am I not waiting long enough or is something broken???
I am stuck on this and cannot get past.