AS解决Ignoring InnerClasses attribute for an anonymous inner class that doesn't come with an associate

来源:互联网 发布:python实现cnn算法 编辑:程序博客网 时间:2024/06/16 07:46

            在proguard-rules.pro里面添加一下混淆:

           

-keepattributes EnclosingMethod
           这里我是进行了分包处理,并不清楚两者会不会有影响。

           

defaultConfig {        applicationId "com.dhcc.csr"        minSdkVersion 14        targetSdkVersion 25        versionCode 1        versionName "1.0"        testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"        multiDexEnabled true    }    buildTypes {        release {            minifyEnabled true            proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'        }    }

1 0
原创粉丝点击