“could not find an installed version of gradle either in android studio, or on your system to install the gradle wrapper. please include gradle in your path, or install android studio”

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

or

brew update && brew install gradle # On a Mac


More Articles

How to start a new Github repo from an existing project

Assume that you have a project and you want to track it with Github. Navigate to the project folder,...

codezilla

codezilla

How to check for listening ports in Linux

Here is one of the most popular commands for troubleshooting network or specific application problem...

codezilla

codezilla

How to get octal file permissions from command line?

Sometimes we want to know the octal number representing the permission of a file like 755, 777, 664 ...

codezilla

codezilla