# Can not run Bitrise CLI at local

**URL:** <https://discuss.bitrise.io/t/can-not-run-bitrise-cli-at-local/3098>\
**Category:** Issues\
**Tags:** step\
**Created:** [October 24, 2017, 3:29am UTC](https://discuss.bitrise.io/t/can-not-run-bitrise-cli-at-local/3098 "2017-10-24T03:29:55Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![dungnart](https://avatars.discourse-cdn.com/v4/letter/d/eb9ed0/32.png) [@dungnart](https://discuss.bitrise.io/u/dungnart)\
**Post date:** [October 24, 2017, 3:29am UTC](https://discuss.bitrise.io/t/can-not-run-bitrise-cli-at-local/3098/1 "2017-10-24T03:29:55Z")

</div>

I stucked at this step. Please help me!  
 ![image](https://us1.discourse-cdn.com/flex016/uploads/bitrise/original/1X/7c90a9b2111da9f4cff33b7c94ade266047091a3.png)

Full build log: [https://pastebin.com/raw/sGZ2BE93](https://pastebin.com/raw/sGZ2BE93)

---

<div class="post-metadata">

**Author:** ![norbert](https://sea2.discourse-cdn.com/flex016/user_avatar/discuss.bitrise.io/norbert/32/21_2.png) [@norbert](https://discuss.bitrise.io/u/norbert)\
**Post date:** [October 24, 2017, 11:18am UTC](https://discuss.bitrise.io/t/can-not-run-bitrise-cli-at-local/3098/2 "2017-10-24T11:18:44Z")

</div>

Hi @dungnart,

Thanks for reporting, we will check it ASAP.  
(Related: [Steps-install-missing-android-tools, 2.0.3 failed with exit status 1](http://discuss.bitrise.io/t/steps-install-missing-android-tools-2-0-3-failed-with-exit-status-1/3047/4))

---

<div class="post-metadata">

**Author:** ![viktorbenei](https://sea2.discourse-cdn.com/flex016/user_avatar/discuss.bitrise.io/viktorbenei/32/18_2.png) [@viktorbenei](https://discuss.bitrise.io/u/viktorbenei)\
**Post date:** [October 24, 2017, 2:52pm UTC](https://discuss.bitrise.io/t/can-not-run-bitrise-cli-at-local/3098/3 "2017-10-24T14:52:28Z")

</div>

Actually this is a separate issue, if you ran this locally.

@dungnart this issue is usually because you ran the CLI in the wrong directory. Based on the log you included you should run the `bitrise run ..` command in the directory where your `build.gradle` and `gradlew` files are located.

There will be another issue, that Android Home is not set. For that please set the Environment Variable `ANDROID_HOME` to the path where the SDK is located.

If you have any questions just let us know! 😉
