Gradle Problem?


Kim Jong Feel
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 Press any key to continue . . .

How to fix this? It just happened yesterday and now I can't build all of my apps anymore.

My Java version 1.8.162 Android Studio 3.6.1
Please help me.

DecSoft

Hello Kim,

Certainly, Grandle is a requisite for Apache Cordova / Android tools. I think it's installed with Android Studio, for example. You may can install Android Studio (reinstall it, or upgrading it can be a good idea), or may try to install Gradle itself. Maybe it's already installed but his pad is not added into your PATH system environment variable. Look at this too.



Ryan Sytsma
I am having the same problem again. I installed Gradle from npm command line

DecSoft

Hello to all,

Yes; I supose that install or upgrade Gradle can do the trick... but certainly the errors can be annoying: I expend more than eight hours yesterday and today with a Gradle issue... that I just can't fix yet... and I am talking about a project which must be compiled using Android Studio... it's a Java project, not a DecSoft App Builder nor Apache Cordova project... :-/

So I hope that Kim be ready and finally fix the problem!



DecSoft

Hello to all,

Me, again... I refer a Gradle problem before in some project (not a DecSoft App Builder project) and finally I got it... and there is not really a Gradle problem... but other problem, which is "fired" by Gradle, which is the responsible to execute certain programs, which can be missing, so fail, but, not for Gradle... but maybe the Gradle configuration in my case, which is not the correct one.

Anyway, one fo the things that I do while work trying to compile the referred project, was remove Gradle from my computer... and therefore I can't compile any APK using Apache Cordova and DecSoft App Builder. However, this time the things become better: just by reinstalling Gradle and ad into the environment PATH variable the Gradle path, the problem is completely gone.

So I really hope that Kim can find the problem: I install Gradle by downloading the binaries and not from NPM, like Ryan do, however, the point is that Gradle are available, since certainly it's required by Apache Cordova in order to do his job.



Ryan Sytsma
I was able to fix it by removing Gradle, doing an update to Android Studio and reinstalling the Gradle binaries

Todo el mundo puede leer el foro de soporte de DecSoft para aprender del mismo, sin embargo, sólo los clientes de DecSoft pueden abrir nuevos hilos. Compre una o más licencias de productos de DecSoft y obtendrá este y otros beneficios.

Este sitio utiliza "cookies" útiles para almacenar sus preferencias.

Bien. Ocultar esta nota. Obtener más información.