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
In Android Studio, go to File > Project Structure. Then select the "project" tab on the left. Your Gradle version will be displayed here.
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.
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.
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.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With