Closed pidanxiangjiao closed 5 months ago
Redex does not gracefully handle the stubs that R8 produces, though you should be able to turn off the stubbing feature/API modeling feature of R8 with System.setProperty("com.android.tools.r8.disableApiModeling", "1")
in your gradle file. That's the recommendation for now. At some point we will handle the stub classes properly but I cannot give any ETA for this.
currently i am thinking about don't use r8 and just use d8 to generate dex and then process dex files with redex. then finally use r8 do obfuscation.
One thing to note: Redex can obfuscate perfectly fine. You wouldn't need the r8 step.
When i process our apk file, i got below error:
We use redex after r8 procession. And the r8 team says:
Is there any configuration to skip such error ? or would you mind give some suggestion to fix it?
currently i am thinking about don't use r8 and just use d8 to generate dex and then process dex files with redex. then finally use r8 do obfuscation.