How to solve the error "An ERROR ocurred while running subprocess cordova" using Angular 9 on Ionic 5
To solve the problem, we'll have to re-install Gradle.
Create a new directory C:\Gradle with File Explorer.
The next step is to configure your system environment, editing the "PATH" environment variable like follows :
Download Gradle and unpack the Gradle distribution ZIP into
C:\Gradle
using an archiver tool.
Click on "Edit" to edit the "Path" variable, and add the following path to it:
C:\Gradle\gradle-6.5.1\bin
Next, before you try again to compile the app, CLOSE the cmd.exe console, so that it re-reads the now updated environment variables. Compile again :
That's All!!!
Enjoy Angular.....
by Carmel Schvartzman
כתב: כרמל שוורצמן
by Carmel Schvartzman
כתב: כרמל שוורצמן
No comments:
Post a Comment