JesusFreke/smali

BakSmali decompile Private variable Bug with high gradle version.

demonwu123 opened this issue · 0 comments

When I build the apk with gradle 3.6.4,and I use baksmail-2.5.2 to decompile the apk, the private variable string became public.
The source code is built with gradle 3.6.4,
` private static final String[] MESSAGE_LIST =
{"xxx"};

**private** static final String[] MODULES_LIST =
        {"xxx"};`

After Baksmali-2.5.2 decompiled the apk, the smali code became,
`# static fields
.field public static final MESSAGE_LIST:[Ljava/lang/String;

.field public static final MODULES_LIST:[Ljava/lang/String;

direct methods

.method public static constructor ()V
...
`