You might run into this error when working with Cordova or Ionic projects
According to what the error log said, the build tool Gradle was not found on your machine. The solution is simply making sure you install Gradle and have it on your path.
Try following installation commands on your machine (however, it’s best to consult the official documentation of your used framework on how to set up a working environment)
sudo apt-get install gradle # On Ubuntu machine
brew update && brew install gradle # On a Mac