Ionic Package: Build Output Failed


#1

I am using Ionic services to make apk file using commend ionic package build android. Got the Failed Status. And Build Output message is

ANDROID_HOME=/opt/android-sdk
JAVA_HOME=/usr/lib/jvm/java-8-oracle
Error: Could not find gradle wrapper within Android SDK. Might need to update your Android SDK.
Looked here: /opt/android-sdk/tools/templates/gradle/wrapper


#2

Searching for the error message here in the forum will return multiple threads.

What is your ionic info output?

If these solutions don’t work:
http://ionicframework.com/support#support
(Scroll down to “Business and Customer Support”)