9

When i run my app, it takes about 10 min to display on my phone. And every change in code also takes 10 min. What should I do? I am using Android Studio 2.0.

cybersam
  • 63,203
  • 6
  • 53
  • 76
M.K
  • 93
  • 1
  • 9

2 Answers2

7

In android studio goto

  • File > Settings > Build,Execution,Deployment > Build Tools > Gradle and check the Offline Work option.
  • File > Settings > Build,Execution,Deployment > Compiler and check all four checkboxes.

If you are using android 2.0 or higher and if you have enabled Instant Run.

  • File > Settings > Build,Execution,Deployment > Instant
    Run
    and uncheck all four checkboxes. ** Sometimes enabling Instant run causes app to launch activity too slowly with white screen after running. Disabling instant run will remove the problem.

  • Restart Android studio

Megha Maniar
  • 444
  • 5
  • 22
2

Upgrade to the Android Studio 2.1. I also faced the same problem in 2.0

hope it will work.

Manmohan Kumar
  • 334
  • 2
  • 8