Closed abdellahFihri closed 5 years ago
I happened to me as well after updating Android studio. I solved it by downloading Gradle manually and adding it to system variables and to system path (don't forger to restart your computer). You can find more information here : https://gradle.org/install/
You have to set ANDROID_SDK_ROOT instead.
hi, when i try to run reco build i get this error: reco start to build cordova
Checking Java JDK and Android SDK versions
ANDROID_SDK_ROOT=undefined (reactmmended setting) ANDROID_HOME=C:\Users\abdel\AppData\Local\Android\sdk (DEPRECATED)
reco-cli-build-cordova ERROR : Error: Command failed: cordova build 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 knowing that i installed all of them can you please help? thank you in advance