One does not simply: migrating to Android 12
summary
Step‑by‑step migration hazards and fixes for Android 12 including concrete failures and fixes: how targeting API 31 breaks builds until manifest exported required is set, a Gradle script to scan third‑party manifests, notifications failing until the PendingIntent mutable/immutable flag is added, and Bluetooth moving to runtime with BLUETOOTH_CONNECT (workarounds using AudioManager, updating WorkManager). Covers forbidden trampolines, background foreground‑service restrictions, what crashes happened, tools used (lint, AOSP/AndroidX source, Play requirements) and which fixes actually work.
AI-written summary · about
chapters (15)
- 0:00Introduction
- 1:11Android 12 overview
- 9:17Migration challenges
- 10:00Manifest exported attribute
- 13:52Fixing third-party libraries
- 15:42Gradle script for exports
- 17:07Pending intent mutability
- 21:00Bluetooth permissions
- 26:19Exploring Android source
- 27:03Performance changes
- 30:34Foreground services
- 31:15Testing thoroughly
- 32:20Telephony stack surprises
- 34:50Key migration tips
- 35:55Resources and closing
related talks
43mMigrating to Android 12: harder than folding a 2s tent
11mTop 12 tips to get ready for Android 12
19mMigrate your apps to Android 13
46mWhat’s new in Android
26mMigrating your established game to target O and beyond
29mWhat's new in Android
04h 44mPlatform Track Livestream
26mMigrate your existing app to target Android Oreo and above
