Chan Yoong Hon
Chan Yoong Hon

Reputation: 1812

Ionic CLI Build Android Error: Could not find installed version of Gradle

I am developing of android and hybrid application. Recently, I just updated of my android-sdk in my android studio. I just realize that when I build my ionic application by typing ionic build android. It display following error

Error: 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

However, set ANDROID_HOME, I just pointed to recently upated Android-SDK. I have problem for me to build ionic android application before I update my application

Upvotes: 1

Views: 1130

Answers (1)

Chintan Soni
Chintan Soni

Reputation: 25287

Android Gradle doesn't work for Ionic anyhow. I wasted one full day on it. However, I was able to solve the issue below way:

Follow manual installation guide from here : https://gradle.org/install/#manually

And once you're set with setting new gradle path to PATH variable in environment variables, you should be able to build your project.

Upvotes: 2

Related Questions