Generate Apk from ionic cordova : **> cordova.cmd build android
Checking Java JDK and Android SDK versions
ANDROID_SDK_ROOT=undefined (recommended setting)
ANDROID_HOME=C:\Users\Newsoft\AppData\Local\Android\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
[ERROR] An error occurred while running subprocess cordova.**

please can any one help me 
i need to generate build apk from ionic angular project 
but they have an problem for android environment 
and sdk root i setup android studio with all configuration but the error is still

