# App Build Error

**URL:** <https://forum.ionicframework.com/t/app-build-error/135883>\
**Category:** ionic-v3\
**Created:** [July 22, 2018, 1:20pm UTC](https://forum.ionicframework.com/t/app-build-error/135883 "2018-07-22T13:20:24Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![webdeveloper001](https://avatars.discourse-cdn.com/v4/letter/w/7feea3/32.png) [@webdeveloper001](https://forum.ionicframework.com/u/webdeveloper001)\
**Post date:** [July 22, 2018, 1:20pm UTC](https://forum.ionicframework.com/t/app-build-error/135883/1 "2018-07-22T13:20:24Z")

</div>

Hi all  
during buildingmy app the below errors stopped the building progress

**\> C:\Users\Mohamed Khedr\Desktop\app\>cordova build android --save**  
**\> Android Studio project detected**  
**\> ANDROID\_HOME=D:\android app\tools**  
**\> JAVA\_HOME=C:\Program Files\java\jdk1.8.0\_121**  
**\> studio**  
**\> Subproject Path: CordovaLib**  
**\> Subproject Path: app**  
\*\*\> \*\*  
**\> FAILURE: Build failed with an exception.**  
\*\*\> \*\*  
**\> \* Where:**  
**\> Script ‘C:\Users\Mohamed Khedr\Desktop\app\platforms\android\CordovaLib\cordova.gradle’ line: 68**  
\*\*\> \*\*  
**\> \* What went wrong:**  
**\> A problem occurred evaluating project ‘:CordovaLib’.**  
**\> \> No installed build tools found. Install the Android build tools version 19.1.0 or higher.**  
\*\*\> \*\*  
**\> \* Try:**  
**\> Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.**  
\*\*\> \*\*  
**\> \* Get more help at [https://help.gradle.org](https://help.gradle.org)**  
\*\*\> \*\*  
**\> BUILD FAILED in 1s**  
**\> (node:9720) UnhandledPromiseRejectionWarning: Error: cmd: Command failed with exit code 1 Error output:**  
**\> FAILURE: Build failed with an exception.**  
\*\*\> \*\*  
**\> \* Where:**  
**\> Script ‘C:\Users\Mohamed Khedr\Desktop\app\platforms\android\CordovaLib\cordova.gradle’ line: 68**  
\*\*\> \*\*  
**\> \* What went wrong:**  
**\> A problem occurred evaluating project ‘:CordovaLib’.**  
**\> \> No installed build tools found. Install the Android build tools version 19.1.0 or higher.**  
\*\*\> \*\*  
**\> \* Try:**  
**\> Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.**  
\*\*\> \*\*  
**\> \* Get more help at [https://help.gradle.org](https://help.gradle.org)**  
\*\*\> \*\*  
**\> BUILD FAILED in 1s**  
**\> at ChildProcess.whenDone (C:\Users\Mohamed Khedr\Desktop\app\platforms\android\cordova\node\_modules\cordova-common\src\superspawn.js:169:23)**  
**\> at emitTwo (events.js:126:13)**  
**\> at ChildProcess.emit (events.js:214:7)**  
**\> at maybeClose (internal/child\_process.js:925:16)**  
**\> at Process.ChildProcess.\_handle.onexit (internal/child\_process.js:209:5)**  
**\> (node:9720) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 1)**  
**\> (node:9720) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.**

Any Idea ???

---

<div class="post-metadata">

**Author:** ![anna\_liebt](https://avatars.discourse-cdn.com/v4/letter/a/bc8723/32.png) [@anna\_liebt](https://forum.ionicframework.com/u/anna_liebt)\
**Post date:** [July 22, 2018, 3:41pm UTC](https://forum.ionicframework.com/t/app-build-error/135883/2 "2018-07-22T15:41:53Z")

</div>

Hello,  
it seems that build tools for api level 19 not installed.  
Are you sure, that you want build to api level 19?

If yes, build tools are a part of android sdk. If you have android studio installed, then take a look to sdk manager and check installed sdks.

Best regards, anna-liebt

---

<div class="post-metadata">

**Author:** ![mhartington](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/mhartington/32/137757_2.png) [@mhartington](https://forum.ionicframework.com/u/mhartington)\
**Post date:** [July 19, 2021, 9:29pm UTC](https://forum.ionicframework.com/t/app-build-error/135883/3 "2021-07-19T21:29:03Z")

</div>

Closed on July 19, 2021, 9:29pm UTC


