# Lint step takes too long

**URL:** <https://discuss.bitrise.io/t/lint-step-takes-too-long/10577>\
**Category:** Question & Answer\
**Tags:** android\
**Created:** [October 11, 2019, 5:00pm UTC](https://discuss.bitrise.io/t/lint-step-takes-too-long/10577 "2019-10-11T17:00:06Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![voben](https://avatars.discourse-cdn.com/v4/letter/v/94ad74/32.png) [@voben](https://discuss.bitrise.io/u/voben)\
**Post date:** [October 11, 2019, 5:00pm UTC](https://discuss.bitrise.io/t/lint-step-takes-too-long/10577/1 "2019-10-11T17:00:06Z")

</div>

How come running the Android lint step is so slow? When I run `./gradlew lint` locally, it takes a few seconds to complete, but on bitrise, its been taking somewhere between 1 min and 3.4min which is really long. Is there a way this can be optimized or fixed? I barely have 2000 lines of code in my codebase. It definitely shouldn’t be taking this long

 ![image](https://us1.discourse-cdn.com/flex016/uploads/bitrise/original/2X/5/56c5c23a15cd8bebfcb6aadd44a0ab02c5f72caa.png)

---

<div class="post-metadata">

**Author:** ![bitce](https://sea2.discourse-cdn.com/flex016/user_avatar/discuss.bitrise.io/bitce/32/1639_2.png) [@bitce](https://discuss.bitrise.io/u/bitce)\
**Post date:** [November 5, 2019, 11:47am UTC](https://discuss.bitrise.io/t/lint-step-takes-too-long/10577/2 "2019-11-05T11:47:37Z")

</div>

Hi @voben!

Can you send us an example build URL where Lint takes so long, so we could check out the logs? 🙂

---

<div class="post-metadata">

**Author:** ![voben](https://avatars.discourse-cdn.com/v4/letter/v/94ad74/32.png) [@voben](https://discuss.bitrise.io/u/voben)\
**Post date:** [November 21, 2019, 4:29pm UTC](https://discuss.bitrise.io/t/lint-step-takes-too-long/10577/3 "2019-11-21T16:29:45Z")

</div>

Here’s a build url where its happening and lint take 3.5 mins. Let me know if you can’t access it. [https://app.bitrise.io/build/d0337afc3cc88e04#?tab=log](https://app.bitrise.io/build/d0337afc3cc88e04#?tab=log)

---

<div class="post-metadata">

**Author:** ![bitce](https://sea2.discourse-cdn.com/flex016/user_avatar/discuss.bitrise.io/bitce/32/1639_2.png) [@bitce](https://discuss.bitrise.io/u/bitce)\
**Post date:** [December 12, 2019, 1:23pm UTC](https://discuss.bitrise.io/t/lint-step-takes-too-long/10577/4 "2019-12-12T13:23:29Z")

</div>

Hi @voben!

I’m really sorry about the delay in getting to your issue. We are currently migrating to a new system in order to be able to assist you better in the future.

In case this is something you’d still want us to investigate, please send us a copy of the terminal output while the same commands being run locally through the CLI. Due to the possibly sensitive nature of this method, this issue might be better suited to handle through our on-site Support from instead of a public one.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex016/uploads/bitrise/original/2X/d/d901cf2aad020f2dd11918afc89ec2089bb87b35.png) [@system](https://discuss.bitrise.io/u/system)\
**Post date:** [January 11, 2020, 1:23pm UTC](https://discuss.bitrise.io/t/lint-step-takes-too-long/10577/5 "2020-01-11T13:23:31Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
