release multidex

This commit is contained in:
Riko Sakurauchi 2020-01-04 00:44:17 +08:00
parent dcfce27891
commit 65cd63bc7c
No known key found for this signature in database
GPG Key ID: 25AC0345B92902AF
3 changed files with 6 additions and 2 deletions

View File

@ -147,6 +147,11 @@ android {
minifyEnabled true
shrinkResources false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
multiDexEnabled true
dependencies {
implementation 'com.android.support:multidex:1.0.3'
}
manifestPlaceholders = [applicationClassName: "MultiDexApplicationLoader"]
}
}
@ -169,6 +174,7 @@ android {
sourceSets.release {
manifest.srcFile 'config/release/AndroidManifest.xml'
java.srcDirs = ['src/multidex/java']
}
flavorDimensions "minApi"

View File

@ -23,7 +23,6 @@
android:roundIcon="@mipmap/ic_launcher_round"
android:label="@string/AppName"
android:theme="@style/Theme.TMessages.Start"
android:name=".ApplicationLoader"
android:hardwareAccelerated="@bool/useHardwareAcceleration"
android:largeHeap="true"
android:supportsRtl="false"

View File

@ -24,7 +24,6 @@
android:roundIcon="@mipmap/ic_launcher_round"
android:label="@string/AppName"
android:theme="@style/Theme.TMessages.Start"
android:name=".ApplicationLoader"
android:hardwareAccelerated="@bool/useHardwareAcceleration"
android:largeHeap="true"
android:supportsRtl="false"