将proguard-android.txt复制一份重命名成proguard-rules.pro,且在build.gradle添加
release {
minifyEnabled true
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
将proguard-android.txt复制一份重命名成proguard-rules.pro,且在build.gradle添加
release {
minifyEnabled true
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}