15

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

2

1 Answer 1

3

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

1
  • Same problem, but with Android Studio installed. What path do I have to fill in? Commented Apr 22, 2023 at 16:08

Not the answer you're looking for? Browse other questions tagged or ask your own question.