eJoe
eJoe

Reputation: 485

Gradle builld takes too long

I have problem with gradle build, each time when I run my application it take more than one minute too build app. I already turn on

org.gradle.daemon=true
org.gradle.parallel=true

this is my gradle project in Gradle project (Android Studio)

Gradle project

Can somebody help me to find problem ?

Upvotes: 1

Views: 146

Answers (2)

Buddy
Buddy

Reputation: 11038

Looks like you are building 4 versions now:

  1. Develop debug
  2. Develop release
  3. Production debug
  4. Production release

To speed it up, just build the one version you want to run.

Upvotes: 0

Arindam Ganguly
Arindam Ganguly

Reputation: 29

It may be for the version of Android Studio you are using. Make sure that you are using the latest version 2.0.0. go to build>make project in your toolbar.

Upvotes: 1

Related Questions