# Ionic package status failed in Ionic cloud

**URL:** <https://forum.ionicframework.com/t/ionic-package-status-failed-in-ionic-cloud/95641>\
**Category:** ionic-v1\
**Created:** [June 23, 2017, 6:09pm UTC](https://forum.ionicframework.com/t/ionic-package-status-failed-in-ionic-cloud/95641 "2017-06-23T18:09:51Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![mahaveer08](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/mahaveer08/32/115839_2.png) [@mahaveer08](https://forum.ionicframework.com/u/mahaveer08)\
**Post date:** [June 23, 2017, 6:09pm UTC](https://forum.ionicframework.com/t/ionic-package-status-failed-in-ionic-cloud/95641/1 "2017-06-23T18:09:51Z")

</div>

Hi Guys, from CLI package build is successfully getting executed. But in Ionic cloud build package status is shown as “Failed”.

Below is my package.json file:

```auto
{
  "name": "ChatBuddy",
  "version": "0.0.1",
  "author": "Ionic Framework",
  "homepage": "http://ionicframework.com/",
  "private": true,
  "scripts": {
    "clean": "ionic-app-scripts clean",
    "build": "ionic-app-scripts build",
    "lint": "ionic-app-scripts lint",
    "ionic:build": "ionic-app-scripts build",
    "ionic:serve": "ionic-app-scripts serve"
  },
  "dependencies": {
    "@angular/common": "4.1.3",
    "@angular/compiler": "4.1.3",
    "@angular/compiler-cli": "4.1.3",
    "@angular/core": "4.1.3",
    "@angular/forms": "4.1.3",
    "@angular/http": "4.1.3",
    "@angular/platform-browser": "4.1.3",
    "@angular/platform-browser-dynamic": "4.1.3",
    "@ionic-native/core": "3.10.2",
    "@ionic-native/splash-screen": "3.10.2",
    "@ionic-native/status-bar": "3.10.2",
    "@ionic/storage": "2.0.1",
    "angularfire2": "^4.0.0-rc0",
    "firebase": "^4.1.2",
    "ionic-angular": "3.4.2",
    "ionicons": "3.0.0",
    "rxjs": "5.4.0",
    "sw-toolbox": "3.6.0",
    "zone.js": "0.8.12"
  },
  "devDependencies": {
    "@ionic/app-scripts": "1.3.7",
    "@ionic/cli-plugin-ionic-angular": "1.3.1",
    "typescript": "2.3.3"
  },
  "description": "An Ionic project"
}

```

---

<div class="post-metadata">

**Author:** ![mahaveer08](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/mahaveer08/32/115839_2.png) [@mahaveer08](https://forum.ionicframework.com/u/mahaveer08)\
**Post date:** [June 24, 2017, 6:26am UTC](https://forum.ionicframework.com/t/ionic-package-status-failed-in-ionic-cloud/95641/2 "2017-06-24T06:26:20Z")

</div>

Guys, can anyone help me with this ?

---

<div class="post-metadata">

**Author:** ![Sujan12](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/sujan12/32/108395_2.png) [@Sujan12](https://forum.ionicframework.com/u/Sujan12)\
**Post date:** [June 24, 2017, 9:47am UTC](https://forum.ionicframework.com/t/ionic-package-status-failed-in-ionic-cloud/95641/3 "2017-06-24T09:47:26Z")

</div>

No, because you didn’t provide any useful information. “failed” is not an error message, it doesn’t include what exact command you executed. You also didn’t include your `ionic info` output.

---

<div class="post-metadata">

**Author:** ![mahaveer08](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/mahaveer08/32/115839_2.png) [@mahaveer08](https://forum.ionicframework.com/u/mahaveer08)\
**Post date:** [June 24, 2017, 6:48pm UTC](https://forum.ionicframework.com/t/ionic-package-status-failed-in-ionic-cloud/95641/4 "2017-06-24T18:48:15Z")

</div>

Refer the screenshot of the error message

 ![image](https://global.discourse-cdn.com/ionicframework/original/3X/0/5/05ecb2dc6ef6940a1868852f377f3b05cb92f004.PNG)

---

<div class="post-metadata">

**Author:** ![Sujan12](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/sujan12/32/108395_2.png) [@Sujan12](https://forum.ionicframework.com/u/Sujan12)\
**Post date:** [June 24, 2017, 6:53pm UTC](https://forum.ionicframework.com/t/ionic-package-status-failed-in-ionic-cloud/95641/5 "2017-06-24T18:53:11Z")

</div>

Click on “Output” on the right to see more of the actual error message.

---

<div class="post-metadata">

**Author:** ![mahaveer08](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/mahaveer08/32/115839_2.png) [@mahaveer08](https://forum.ionicframework.com/u/mahaveer08)\
**Post date:** [June 24, 2017, 6:56pm UTC](https://forum.ionicframework.com/t/ionic-package-status-failed-in-ionic-cloud/95641/6 "2017-06-24T18:56:53Z")

</div>

Build output message:

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

---

<div class="post-metadata">

**Author:** ![Sujan12](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/sujan12/32/108395_2.png) [@Sujan12](https://forum.ionicframework.com/u/Sujan12)\
**Post date:** [June 24, 2017, 7:06pm UTC](https://forum.ionicframework.com/t/ionic-package-status-failed-in-ionic-cloud/95641/7 "2017-06-24T19:06:44Z")

</div>

One of the many search results for this error here in the forum:

> [@Got Error in Ionic cloud build "Error: Could not find gradle wrapper within Android SDK. Might need to update your Android SDK. "](https://forum.ionicframework.com/t/got-error-in-ionic-cloud-build-error-could-not-find-gradle-wrapper-within-android-sdk-might-need-to-update-your-android-sdk/94416/4):
>
> I got response from ionic team regarding this issue. You can follow below steps to solve your problem. Hi Sanjog, We recently made an upgrade on our Package server to use the most recent version of the Android SDK. This will require users to upgrade to the latest version of the Cordova Android platform. Could you try upgrading your version of cordova-android and run the build again? To upgrade the platform, run this command: cordova platform update android@6.2.3 --save​ Let us know if this h…
