Cannot Build Cordova Project

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.

Also “Build Successful” is a lie, there is no APK file.

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)

Welcome to Gradle 6.0.1!

Here are the highlights of this release:

  • Substantial improvements in dependency management, including
    • Publishing Gradle Module Metadata in addition to pom.xml
    • Advanced control of transitive versions
    • Support for optional features and dependencies
    • Rules to tweak published metadata
  • Support for Java 13
  • Faster incremental Java and Groovy compilation
  • New Zinc compiler for Scala
  • VS2019 support
  • Support for Gradle Enterprise plugin 3.0

For more details see https://docs.gradle.org/6.0.1/release-notes.html

Starting a Gradle Daemon (subsequent builds will be faster)

BUILD SUCCESSFUL in 16s
1 actionable task: 1 executed
Subproject Path: CordovaLib
Subproject Path: app
Downloading https://services.gradle.org/distributions/gradle-4.10.3-all.zip