What is a baseline package?
I have a question about the obfuscation configuration document: What is a baseline package, and how do I follow the instruction: "#The generated mapping.txt file is in the app/build/outputs/mapping/release path. Move it to the /app path."?
Question: What is a baseline package?
I have a question about the obfuscation configuration document: What is a baseline package, and how do I follow the instruction: "#The generated mapping.txt file is in the app/build/outputs/mapping/release path. Move it to the /app path."?
Answer: When you package your application for the first time, a mapping file is generated. Before you package the application a second time, move this mapping file to the app path. Then, in the obfuscation rules, replace printmapping with applymapping. This process uses the complete rules from the first packaging operation. The package created from the first packaging is the baseline package.
Question: What happens if I use obfuscation, but both the baseline package and the patch package use printmapping instead of applymapping?
Answer: This can cause inconsistent obfuscation, which may lead to errors where a method or class cannot be found. However, this is not an issue if no methods or classes have been modified.