# Ionic Android Platform Build Failed

**URL:** <https://forum.ionicframework.com/t/ionic-android-platform-build-failed/19732>\
**Category:** ionic-v1\
**Created:** [March 25, 2015, 8:07pm UTC](https://forum.ionicframework.com/t/ionic-android-platform-build-failed/19732 "2015-03-25T20:07:04Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![kross](https://avatars.discourse-cdn.com/v4/letter/k/90ced4/32.png) [@kross](https://forum.ionicframework.com/u/kross)\
**Post date:** [March 25, 2015, 8:07pm UTC](https://forum.ionicframework.com/t/ionic-android-platform-build-failed/19732/1 "2015-03-25T20:07:04Z")

</div>

![image](https://global.discourse-cdn.com/ionicframework/original/3X/2/b/2bcff9703d5b3a4b5044a3766993fbca1a290c07.jpeg)

Everytime i try to build my android platform on ionic I am greeted by the error stating that my JAVA\_HOME is invalid whereas it points to the correct path as seen below. I have tried removing and re-adding the platform and re-adding the paths in the environment variables but nothing seems to work. I have been trying to troubleshoot this error for days now. Please help!
