What is the purpose of ProGuard or R8 keep rules?
- A Preventing removal or renaming of classes accessed reflectively or by name
- B Improving runtime speed
- C Reducing build time
- D Encrypting the APK
Answer
Preventing removal or renaming of classes accessed reflectively or by name
Serialisation libraries and reflection-based frameworks commonly require keep rules, and omitting them produces crashes only in release builds.





