Skip to content

Instantly share code, notes, and snippets.

View raaghulr's full-sized avatar

Raaghul R raaghulr

View GitHub Profile
@raaghulr
raaghulr / proguard-rules.pro
Created September 15, 2017 11:34
How you can decrease application size by 60% (In only 5 minutes)? Mobile devices always have limited resources. They have a limited amount of battery, limited storage, limited processing power, limited RAM, limited internet connectivity … and the list goes on. This doesn’t matter if you are targeting Android or iOS. This is the universal truth. …
release {
//Enable the proguard
minifyEnabled true
shrinkResources true
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), "proguard-rules.pro"
//Other parameters
debuggable false
jniDebuggable false
renderscriptDebuggable false