I'm facing strange issue.
When I used the gradle plugin version 2.0.1 to create my android application, the very first installation taking too much time to open the application (App is running very quickly from next time on wards). And the app screen freezes in black screen for a while when the app just opens after installation.
This is my main gradle dependency block content
dependencies {
classpath 'com.android.tools.build:gradle:2.1.0'
classpath 'com.google.gms:google-services:2.0.0-alpha6'
}
And my app gradle dependancy block is following
dependencies {
// compile fileTree(dir: 'libs', include: ['*.jar'])
compile 'com.android.support:appcompat-v7:23.1.1'
compile 'com.android.support:support-v4:23.1.1'
compile 'com.android.support:design:23.1.1'
compile 'com.android.support:recyclerview-v7:+'
compile 'com.android.support:cardview-v7:21.0.+'
compile 'com.google.android.gms:play-services:8.4.0'
apply plugin: 'com.google.gms.google-services'
compile 'com.android.support:multidex:1.0.0'
compile 'com.squareup.okhttp:okhttp:2.7.5'
}
How can I resolve this issue?