0

This week i reinstalled my OS(Ubuntu 14.04 amd64),in the new OS(same Ubuntu) i copied installed the backup of android 2.0 and the sdk, now the gradle build is running for more than half an hour

Abishek Kumaresan
  • 107
  • 1
  • 4
  • 15

3 Answers3

0

Click File then Goto Settings ->Build Execution and Deployment ->Build tools -> Gradle , there you will find one check box offline work , check that check box . It may help building faster .

Abakasha Panda
  • 348
  • 3
  • 8
0

try increasing the memory allocation of Android studio by updating VMoptions file.

you get decrease your gradle file build duration by following the link below.

http://tools.android.com/tech-docs/configuration

0

Thank you Everyone. I solved the problem by restarting android studio and then giving execute permission to, "aapt","dx","zipalign" files in my /sdk/23.0.2/build-tools and "adb" file in /sdk/platform-tools

Abishek Kumaresan
  • 107
  • 1
  • 4
  • 15