Pick the fix
Cold start takes 2.1 s. Application.onCreate initialises analytics, maps, image cache warm-up and an ads SDK. What's the best first move?
Hint 1 of 1
What does the first screen actually need?
Choose an answer, then open Show answer below to check it.
Show answer
Answer: A Measure each init, keep only what the first screen needs, and defer or lazy-load the rest
Correct. Measure, then move non-critical init off the critical path.
Why not the others?
- B Move all of it to a background thread at once. Some SDKs must be on main or ready before use; blindly moving them causes races.
- C Show a longer splash screen. That hides the problem and makes start slower.
- D Add multidex. Not related to startup cost in modern builds.