Android 17 / API 37 Compliance
android_api17_complianceAudit Android 17 (API 37) breaking changes: static final reflection, local network permission, SMS OTP delay, large-screen mandate, NPU declaration, and Handoff API. Choose topic for migration guidance.
Instructions
Android 17 (API 37) reached platform stability March 26, 2026. Contains breaking changes NOT covered by android_api36_compliance: (1) Static final field reflection via Java reflection or JNI now throws IllegalAccessException/crash on API 37+ targets — affects test code, some DI frameworks, and any code using field.isAccessible=true on final fields. (2) ACCESS_LOCAL_NETWORK permission required for any LAN communication (192.168.x.x, mDNS, SSDP, direct sockets). (3) SMS OTP programmatic access delayed 3 hours — migrate to SmsRetriever.startSmsUserConsent(). (4) Extended large-screen mandate at API 37 — games exemption no longer applies on ≥600dp. (5) NPU feature declaration required for direct NPU access. (6) Handoff API for cross-device activity continuity. Topics: 'overview' (all breaking changes), 'checklist' (migration audit), 'static final' (reflection block), 'local network' (ACCESS_LOCAL_NETWORK), 'sms otp' (3-hour delay), 'npu' (NPU feature), 'handoff' (cross-device).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| topic | No | Topic: 'overview', 'checklist', 'static final', 'local network', 'sms otp', 'npu', 'handoff' |