Reduce APK size further

This commit is contained in:
Tad 2018-04-16 20:10:10 -04:00
parent ceae4ae010
commit a198956b20
3 changed files with 6 additions and 5 deletions

View file

@ -6,22 +6,22 @@ android {
applicationId "us.spotco.malwarescanner"
minSdkVersion 16
targetSdkVersion 26
versionCode 33
versionCode 35
versionName "2.7"
resConfigs "en"
}
buildTypes {
debug {
applicationIdSuffix ".debug"
minifyEnabled true
useProguard false
zipAlignEnabled true
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
useProguard false
}
release {
shrinkResources true
minifyEnabled true
useProguard true
zipAlignEnabled true
useProguard true
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}

View file

@ -19,3 +19,5 @@
# If you keep the line number information, uncomment this to
# hide the original source file name.
#-renamesourcefileattribute SourceFile
-optimizationpasses 3

View file

@ -17,5 +17,4 @@
<string name="lblNotificationRealtimeText">Malware will be detected in realtime</string>
<string name="lblNotificationRealtimeDetection">Malware Detected:</string>
<string name="lblRealtimeScannerToggle">Realtime Scanner</string>
</resources>