App • ⚠️ FAIL Cordova CLI has failed

I have the following issue when trying to publish the project to the Mobile App.

Checking Java JDK and Android SDK versions
ANDROID_HOME=C:\Users\hendri\AppData\Local\Android\Sdk (recommended setting)
ANDROID_SDK_ROOT=undefined (DEPRECATED)
Using Android SDK: C:\Users\hendri\AppData\Local\Android\Sdk
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

App • Command “cordova” failed with exit code: 1
App • Updated Cordova config.xml

App • :warning: FAIL Cordova CLI has failed

Although Gradle and the SDK have been correctly set up.

Please help me.

Follow this video RadSystems Studio requirements & Software Setup | RadSystems