Android app和aar混淆方法
app混淆方法
1.在build.gradle中,将minifyEnabled设置为true以开启混淆。
apply plugin: 'com.android.application'
android {
compileSdkVersion 29
buildToolsVersion "29.0.3"
defaultConfig {
applicationId "com.xxx.xxx"
minSdkVersion 14
targetSdkVersion 29
versionCode 1
versionName "1.0"
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
}
buildTypes {
release {
//将minifyEnabled置为true,开启混淆
minifyEnabled true
proguardFi