Recently i have upgraded Android Studio
from 1.5
to 2.0
.
With that i am using gradle 2.0.0
classpath 'com.android.tools.build:gradle:2.0.0'
But there seems some issue with it, whenever i am running my app for first time, it is showing while/black screen for 10-15 seconds.
There is nothing i am doing on applicationClass or launcher activity, but then also it is taking this much time.
I don't know whether it is issue with AS 2.0
or Gradle 2.0.0
. Strange thing is that it is working properly on emulator, it is just taking time on device. So there might be possibility of device RAM or processing issues, but i have checked it in 10-12 devices and all devices have same issue.
Problem arise when i am running my application for first time, then after it is working as usual and loads launcher activity within fraction of seconds.
Can anyone please help me in this?