Android Studio を使用してアプリを開発しています。
Android Studio でアプリを実行すると、Android 4.x と 5.x の両方でアプリがすばやく起動します。
しかし、国内の強化サービスを利用してシェルを追加したところ、アプリの起動に Android 5.x では 3 秒、Android 4.x では 1 秒かかりました。
原因がわかりません... Android 5.x で起動が遅いのはなぜですか?
これが私のbuild.gradleです。ご存知でしたら、ヒントをありがとうございます。
apply plugin: 'com.android.application'
android {
compileSdkVersion 22
buildToolsVersion "22.0.1"
defaultConfig {
applicationId 'com.myatejx.sakernote'
minSdkVersion 16
targetSdkVersion 22
versionCode 72
versionName '0.7.2'
multiDexEnabled true
}
buildTypes {
release {
minifyEnabled true
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
shrinkResources true
}
lintOptions {
abortOnError false
}
}
productFlavors {
}
}
tasks.withType(JavaCompile) {
options.encoding = "UTF-8"
}
dependencies {
compile 'com.android.support:support-v4:22.2.0'
compile 'com.android.support:appcompat-v7:22.2.0'
compile 'com.android.support:design:22.2.0'
compile project(':SwipeActionAdapter')
compile project(':SystemBarTint')
compile project(':DragSortListView')
compile project(':MaterialSetting')
}