Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Could not find an installed version of Gradle either in Android Studio, or on your system to install the gradle wrapper

I was installing android studio 3.5.1 after installing the latest one while trying to run my CORDOVA android application I got below Error:

Checking Java JDK and Android SDK versions
ANDROID_SDK_ROOT=undefined (recommended setting)
ANDROID_HOME=D:\Software\sdk (DEPRECATED)
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

Kindly help out this problem I am new to Cordova app development

like image 986
MurugananthamS Avatar asked Oct 16 '19 12:10

MurugananthamS


People also ask

How do I find Gradle version in Gradle project?

In Android Studio, go to File > Project Structure. Then select the "project" tab on the left. Your Gradle version will be displayed here.

How do I know if Gradle is installed Android Studio?

Verify Gradle Installation. Now open the command prompt. In the command prompt, enter Gradle -version. It will display the current version of Gradle just installed on the screen.

Where can I find Gradle in Android Studio?

You can specify the Gradle version in either the File > Project Structure > Project menu in Android Studio, or update your Gradle version using the command line.


1 Answers

What is the output of the gradle -v command? To properly install Gradle you need to create/edit the CORDOVA_ANDROID_GRADLE_DISTRIBUTION_URL environment variable with the location of a Gradle distributable ZIP.

Check out this guide to install Gradle for more details.

enter image description here

like image 182
andreszs Avatar answered Sep 18 '22 12:09

andreszs