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" applicationId "us.spotco.malwarescanner"
minSdkVersion 16 minSdkVersion 16
targetSdkVersion 26 targetSdkVersion 26
versionCode 33 versionCode 35
versionName "2.7" versionName "2.7"
resConfigs "en"
} }
buildTypes { buildTypes {
debug { debug {
applicationIdSuffix ".debug" applicationIdSuffix ".debug"
minifyEnabled true minifyEnabled true
useProguard false
zipAlignEnabled true zipAlignEnabled true
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' useProguard false
} }
release { release {
shrinkResources true shrinkResources true
minifyEnabled true minifyEnabled true
useProguard true
zipAlignEnabled true zipAlignEnabled true
useProguard true
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
} }
} }

View file

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

View file

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