Recall & Review
beginner
What is app size optimization in Android development?
App size optimization means making your app smaller so it uses less storage on users' devices and downloads faster.
Click to reveal answer
beginner
Name one common cause of large Android app size.
Including many large image files or unused libraries can make the app size bigger.
Click to reveal answer
intermediate
What is the role of
ProGuard or R8 in app size optimization?They remove unused code and shrink the app, making it smaller and faster.
Click to reveal answer
intermediate
How does resource shrinking help reduce app size?
Resource shrinking removes images, strings, and other files that your app does not use.
Click to reveal answer
intermediate
What is Android App Bundle and how does it help with app size?
Android App Bundle lets Google Play deliver only the code and resources needed for a user’s device, reducing download size.
Click to reveal answer
Which tool is used to remove unused code in Android apps?
✗ Incorrect
ProGuard (and R8) remove unused code to shrink app size.
What does resource shrinking do?
✗ Incorrect
Resource shrinking removes unused resources like images and strings.
How does Android App Bundle reduce app size for users?
✗ Incorrect
App Bundle lets Google Play send only what the device needs.
Which of these is NOT a good practice for app size optimization?
✗ Incorrect
Including unused language files increases app size unnecessarily.
What is a benefit of smaller app size?
✗ Incorrect
Smaller apps download and install faster, improving user experience.
Explain how code shrinking and resource shrinking work together to reduce Android app size.
Think about what parts of the app are removed to make it smaller.
You got /3 concepts.
Describe the benefits of using Android App Bundle for app size optimization.
Consider how Google Play customizes the app for each device.
You got /3 concepts.