Committed on its own so the next commit shows only hand-written code.
PLAN.md section 8 assumes cmdline-tools plus sdkmanager. That has moved:
cmdline-tools 23.0 deprecates sdkmanager for a new `android` CLI which
also scaffolds projects, installs packages without a licence prompt, and
can build and deploy to a device. The project here is `android create
empty-activity --minSdk 36`.
Android 16 is API 36, so minSdk and targetSdk are 36, matching the phone
that has to run it. compileSdk stays at 36 rather than the newest 37 that
section 8 suggests, because nothing here names an API 37 symbol and the
template's AGP 9.0.1 pairing is tested at 36. Raising it later is a
one-line change if a reason appears.
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01PU5ZFfQFtDTFqqhvMTWdGH