Does anyone notice the app takes much longer time to start up using Android Plugin for Gradle 2.2.0?
I tried switching between 2.1.3 and 2.2.0 to check the boot performance. Version 2.1.3 always serving up the Activity
almost instantly whereas version 2.2.0 always take seconds to load.
classpath 'com.android.tools.build:gradle:2.1.3' // App boot-up fast
classpath 'com.android.tools.build:gradle:2.2.0' // App boot-up slow
Test environment
- Device: Nexus 5
- Android version: Marshmallow (6.0.1)
- Project: simply creates a new project with Navigation Drawer Activity template and run it
Project gradle configuration
compileSdkVersion 24
buildToolsVersion "23.0.3"
defaultConfig {
applicationId "com.test.sample"
minSdkVersion 21
targetSdkVersion 24
versionCode 1
versionName "1.0"
}
Question
Why (and how) would Android Plugin for Gradle affects app performance other than build performance?