Update Gradle for build

Hi,

I am upgrading my Cordova Android App from 6.0.0 to 7.1.1. During build process (Cordova build), I am getting an exception like below,

"Not able to find Gradle (or)  Not installed on my machine"

But with 6.0.0 version, I am able to build without any issues. Does any one face (or) resolved this issue.

Regards,

Rajkumar

RajKumar | Answered# (13)
Reply For This Question
Answer(s) Posted
Update Gradle for build

I downloaded the updated Gradle from the below link and placed it in the system folder and mapped the folder information in "Environment Variables" section as mentioned in my another answer.

https://services.gradle.org/distributions/gradle-4.1-all.zip

Regards,

Rajkumar

 

Raj Kumar | Answered# (13)
Update Gradle for build

I have resolved this issue. Please follow the below steps.

1. Go to "Environment Variables"

2. Under "User Variables" Section, add new variable by click on New and Add "GRADLE_HOME" as "Variable Name"

3. Gradle Path "C:\Users\SYSTEM Name\.gradle\wrapper\dists\gradle-2.14.1-all\53l0mv9mggp9q5m2ip574m21oh\gradle-2.14.1" and Click On "Ok"

4. Under "System Variable" section, click and edit the "PATH" 

5. Add "C:\Users\SYSTEM Name\.gradle\wrapper\dists\gradle-2.14.1-all\53l0mv9mggp9q5m2ip574m21oh\gradle-2.14.1\bin" and click on Ok

After updating environment variables, restart your system. Now you will be able to build your Cordova Project!!

Thanks,

Rajkumar

Raj Kumar | Answered# (13)
Post Your Answer
   Please login to post your answer.
  Member Login
  Email Address  
  Password  
   Sign Up?  
  Privacy   Terms Of Use   Contact Us
© 2016 Developerin.Net. All rights reserved.
Trademarks and Article Images mentioned in this site may belongs to Microsoft and other respective trademark owners.
Articles, Tutorials and all other content offered here is for educational purpose only and its author copyrights.