3

I have an application which was working fine with gradle 1.5.0. Application use to launch instantly after gradle build.

But when I changed the gradle to gradle 2.1.0 it launches with a delay of 5-6 seconds for first time after gradle build. I have tested with some of my other apps also in those apps also same issue persists.

Then I changed the gradle version back to gradle 1.5.0 then again my app started working fine without any delay.

So, it seems like there is an issue with gradle 2.1.0.

Moreover, I noticed one more thing that when I run the app with gradle 2.1.0 then the cache memory of app shows around 11-12 MB after first time launch without performing registration or any other action in app

While on running with gradle 1.5.0 cache memory size remains around 15-17KB.

Flexo
  • 84,884
  • 22
  • 182
  • 268
Gaurav Singh
  • 1,910
  • 14
  • 29

1 Answers1

2

This issue came in new android studio version due to instant run feature when you disable instant run feature first time launch delay will be gone.

Khizar Hayat
  • 3,049
  • 2
  • 16
  • 22