How to fix could not find gradle error in ionic

preview_player
Показать описание
Learn how to fix could not find gradle error in ionic. When you try to build your ionic project into an android app using Cordova in Windows, you may get an error saying the following:

"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
[ERROR] An error occurred while running subprocess cordova."

This error can be resolved by following the steps in this Ionic Troubleshooting video. This Ionic error is likely to occur in new installations of Ionic Framework on Windows. The error can be resolved by downloading gradle, then unzipping it to your C:\ drive, then finally adding the gradle binary files to your path. A restart of your system may be required in order for the changes to take effect. After restarting windows, attempt to build your android app using cordova once more and it should work.

If you are still facing issues after trying the steps in this debugging guide, feel free to comment below and I'll be more than happy to assist you.

Рекомендации по теме
Комментарии
Автор

Thank you so much. Was strugling to find a solution and yours was so simple. Life saver!

Gordaoaway
Автор

nice...finally working after restart once..thanks

gamepatio
Автор

Thank you so much, been stuck for 2 hours.

lehlohonolomotsoeneng
Автор

Subscribed and notification enabled.. waiting for more videos

arivazhagun
Автор

Thank you Bro after 2 days of struggle i got solution.

arivazhagun
Автор

Muchas gracias Brother, excelente información, me funciono y me saco del apuro....

vamosalcode
Автор

THANK YOU SO MUCH MAN. I LOVE YOU! THANK YOU THANK YOU THANK

achgames
Автор

you didn't need to restart your pc, you just need to open another terminal for the environment variable changes to take effect

pipzgutz
Автор

[ERROR] An error occurred while running subprocess cordova. same error

mjhiremathhiremath
Автор

I followed the tutorial. Cordova requirements shows gradle not installed but when I run gradle -v it shows path is fine, plz help

Vigyan_in
Автор

compileSdkVersion is not specified. Please add it to build.gradle. I've tried everything

SkoobKu
Автор

im still in the same issue, im follow all steeps but its not work :(

i-fada