I has installed jdk 8 and latest android studio, gradle and i also set environment variable for java_home ,android_home,gradle_home but showing this error
Checking Java JDK and Android SDK versions
ANDROID_SDK_ROOT=undefined (recommended setting)
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
[ERROR] An error occurred while running subprocess cordova.
cordova.cmd build android exited with exit code 1. Re-running this command with the --verbose flag may provide more information.
i cannot build the android apk, Any one help…