0
我用了很长时间的Android Studio 2.1和gradle插件com.android.tools.build:gradle:2.1.2
。Proguard从gradle插件输出不同的混淆结果2.1.2到2.3.3
发布版本配置了我自定义的proguard文件和个人字典(包含java关键字作为返回double,float等)。使用反混淆器,文件夹树导致正确混淆。
现在我使用Android Studio 2.3和Gradle插件2.3.3,使用相同的代码,相同的proguard文件和相同的字典,但在解混淆后,包,方法和类名称保持不变变量被混淆。在这里,不同的输出为PNG图像:
在哪儿啦?
告诉我文件proguard的 –
-printconfiguration -dontusemixedcaseclassnames -dontskipnonpubliclibraryclasses -verbose -dontoptimize -dontpreverify -adaptresourcefilenames **。XSD,**,WSDL,**,XML,**,性质,** .GIF,**。JPG,**。PNG -flattenpackagehierarchy -obfuscationdictionary proguard_dictionary.txt -packageobfuscationdictionary proguard_dictionary.txt -classobfuscationdictionary proguard_dictionary.txt -dontwarn android.support。** -dontwarn com.facebook。* * - 做ntwarn com.squareup。** -dontwarn org.junit。** -dontwarn android.test。** -dontwarn com.github.siyamed。** – cirkopel