# Android Build fails issue with Gradlew

**URL:** <https://discuss.bitrise.io/t/android-build-fails-issue-with-gradlew/5174>\
**Category:** Builds\
**Created:** [May 24, 2018, 1:40pm UTC](https://discuss.bitrise.io/t/android-build-fails-issue-with-gradlew/5174 "2018-05-24T13:40:32Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![konstantino7](https://avatars.discourse-cdn.com/v4/letter/k/8edcca/32.png) [@konstantino7](https://discuss.bitrise.io/u/konstantino7)\
**Post date:** [May 24, 2018, 1:40pm UTC](https://discuss.bitrise.io/t/android-build-fails-issue-with-gradlew/5174/1 "2018-05-24T13:40:32Z")

</div>

# Bitrise Build Issue Report template

## Description of the issue

Trying to run a build and it fails with

Issue with input: GradlewPath not exist at: ./gradlew

±–±--------------------------------------------------------------±---------+  
| x | install-missing-android-tools@2.0.6 (exit code: 1) | 2.47 sec |  
±–±--------------------------------------------------------------±---------+  
| Update available: 2.0.6 -\> 2.1.1 |  
| Issue tracker: …bitrise-steplib/steps-install-missing-android-tools/issues |  
| Source: …://github.com/bitrise-steplib/steps-install-missing-android-tools |  
±–±--------------------------------------------------------------±---------+

## Environment:

**Where did the issue happen?**

If on [Bitrise.io](http://Bitrise.io): which stack? If not on [Bitrise.io](http://Bitrise.io): on what operating system? (Plus any other information you can share)

**Which build Step causes the issue and which version of the step?**

Android & Docker, on Ubuntu 16.04

E.g.: Git Clone v3.6.0

## Reproducibility

- _Does a “Rebuild” help? (You can trigger a rebuild from the Build’s page, by clicking the “Rebuild” button in the top right corner of a finished build)_ : YES/NO
- _Does a rebuild without caches help? (You can remove the `Cache:Pull` and `Cache:Push` steps temporarily to not to use the cache, or [you can delete all the caches on the `Settings` tab of the app](http://devcenter.bitrise.io/caching/about-caching/#downloading-and-deleting-caches)._ : YES/NO
- _Does the issue happen sporadically, or every time?_ :
- _Does upgrading the build Step to the latest version help?_ : YES/NO
- _When did the issue start?_ :

### Local reproduction

_Can it be reproduced on your own Mac/PC by following our [local debug guide](http://discuss.bitrise.io/t/how-to-debug-your-build-locally-it-works-on-my-mac-pc-but-not-on-bitrise-io/392)? Please follow at least the first section (“Testing with a full clean git clone”) to make sure to test the state of the code what [bitrise.io](http://bitrise.io) will get when it does a git clone in the clean environment! If possible please note which sections you tried._

### Local reproduction: Linux / Android (docker based) stack builds

_Can it be reproduced by running the build locally, after doing a new git clone of the repository into the `/tmp` directory and running the build from there with the Bitrise CLI ( [https://www.bitrise.io/cli](https://www.bitrise.io/cli) )? If no, can it be reproduced with Docker (using the same docker images / environment we use on [bitrise.io](http://bitrise.io))? Related guide: [http://devcenter.bitrise.io/docker/run-your-build-locally-in-docker/](http://devcenter.bitrise.io/docker/run-your-build-locally-in-docker/) ._

## Build log

_Please copy paste the build’s [bitrise.io](http://bitrise.io) URL here (or if the issue happens somewhere else then the full logs), or if you can’t share the url / log here then send the url or full log through a private channel (e.g. email - [https://www.bitrise.io/contact](https://www.bitrise.io/contact) ), with a link to the related Discuss issue._

---

<div class="post-metadata">

**Author:** ![tamaspapik](https://sea2.discourse-cdn.com/flex016/user_avatar/discuss.bitrise.io/tamaspapik/32/251_2.png) [@tamaspapik](https://discuss.bitrise.io/u/tamaspapik)\
**Post date:** [May 25, 2018, 10:50am UTC](https://discuss.bitrise.io/t/android-build-fails-issue-with-gradlew/5174/2 "2018-05-25T10:50:36Z")

</div>

Hey @konstantino7 !

Could you please send the failed build’s **url** , so we can have a closer look?

---

<div class="post-metadata">

**Author:** ![konstantino7](https://avatars.discourse-cdn.com/v4/letter/k/8edcca/32.png) [@konstantino7](https://discuss.bitrise.io/u/konstantino7)\
**Post date:** [May 29, 2018, 9:10am UTC](https://discuss.bitrise.io/t/android-build-fails-issue-with-gradlew/5174/3 "2018-05-29T09:10:09Z")

</div>

Hey @tamaspapik all sorted now, we can close this. Thanks

---

<div class="post-metadata">

**Author:** ![BirmacherAkos](https://sea2.discourse-cdn.com/flex016/user_avatar/discuss.bitrise.io/birmacherakos/32/1319_2.png) [@BirmacherAkos](https://discuss.bitrise.io/u/BirmacherAkos)\
**Post date:** [June 1, 2018, 11:32am UTC](https://discuss.bitrise.io/t/android-build-fails-issue-with-gradlew/5174/4 "2018-06-01T11:32:12Z")

</div>

Hi @konstantino7.

I’m glad to hear that, I’m closing this thread but if you’d need any help feel free to contact us.

Happy Building! 🙂

---

<div class="post-metadata">

**Author:** ![BirmacherAkos](https://sea2.discourse-cdn.com/flex016/user_avatar/discuss.bitrise.io/birmacherakos/32/1319_2.png) [@BirmacherAkos](https://discuss.bitrise.io/u/BirmacherAkos)\
**Post date:** [June 1, 2018, 11:32am UTC](https://discuss.bitrise.io/t/android-build-fails-issue-with-gradlew/5174/5 "2018-06-01T11:32:24Z")

</div>


