0

I have a class which has the following field

private static final Identifier alTexture = new Identifier("al", "al.png");

now when I obfuscate this with ProGuard I receive the following output

public static final class_2960 vcAdmJHWywpfJDWjeu = new class_2960(SdtSesegrDtrPVCoeg.unscramble(51), SdtSesegrDtrPVCoeg.unscramble(398));

as you can see its converting the private to public. The issue here is that this class requires the following to stay in private and I am unsure of what keeps it private in the options.

1 Answers1

0

Please check the -allowaccessmodification option as per Proguard manual.

Anton Baranenko
  • 564
  • 1
  • 4
  • 7