R8 in release builds is used to:

  1. Sign the APK
  2. Create the keystore
  3. Shrink, optimise and obfuscate code and remove unused resources
  4. Upload to Play
Answer

C) Shrink, optimise and obfuscate code and remove unused resources

R8 replaces ProGuard for shrinking and obfuscation.

Computer Science MCQ · More Threading and Publishing Android Applications MCQs · Practise