# Gradle is taking too much time to build

**URL:** <https://discuss.kotlinlang.org/t/gradle-is-taking-too-much-time-to-build/7930>\
**Category:** Android\
**Created:** [May 26, 2018, 7:09pm UTC](https://discuss.kotlinlang.org/t/gradle-is-taking-too-much-time-to-build/7930 "2018-05-26T19:09:13Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![vampzzz](https://avatars.discourse-cdn.com/v4/letter/v/c6cbf5/32.png) [@vampzzz](https://discuss.kotlinlang.org/u/vampzzz)\
**Post date:** [May 26, 2018, 7:09pm UTC](https://discuss.kotlinlang.org/t/gradle-is-taking-too-much-time-to-build/7930/1 "2018-05-26T19:09:14Z")

</div>

Hi, i’m new to android studio but when ever i make a change and run then gradle is taking too much time to build for start it almost takes 20min and then after each change (even only text change) it takes 4-5 minutes for each time when i click on run button.  
My system info:  
Intel Core i3 2330M, 2.20GHZ  
Ram: 4GB  
Android version: Latest

i know these specs are slow but i have seen many people using same android studio version on **core 2 duo** and **core i3 4GB RAM**. and their gradle is taking 2-3 minutes for the first time build and then less than 30 seconds for each build can you please tell me what is wrong with my android studio? or what kind of settings i can do to make it better?

---

<div class="post-metadata">

**Author:** ![darksnake](https://sea1.discourse-cdn.com/flex019/user_avatar/discuss.kotlinlang.org/darksnake/32/2479_2.png) [@darksnake](https://discuss.kotlinlang.org/u/darksnake)\
**Post date:** [May 27, 2018, 5:38am UTC](https://discuss.kotlinlang.org/t/gradle-is-taking-too-much-time-to-build/7930/2 "2018-05-27T05:38:21Z")

</div>

You should ask this question on [gradle forum](https://discuss.gradle.org/) since it has nothing to do with kotlin. Maybe they have ready answer. Kotlin compiler is a bit slower than java, but not much. Of course you need to use latest version of gradle plugin and stdlib dependency.

---

<div class="post-metadata">

**Author:** ![vampzzz](https://avatars.discourse-cdn.com/v4/letter/v/c6cbf5/32.png) [@vampzzz](https://discuss.kotlinlang.org/u/vampzzz)\
**Post date:** [May 27, 2018, 4:48pm UTC](https://discuss.kotlinlang.org/t/gradle-is-taking-too-much-time-to-build/7930/3 "2018-05-27T16:48:04Z")

</div>

thank you i was un-aware of this so i posted it here i’ll post it on gradle forum.
