Android se ejecuta en un rango enorme de dispositivos y versiones de SO ("fragmentación"), por lo que las aplicaciones deben manejar la compatibilidad de versiones — soportar versiones antiguas mientras se usan características más nuevas de forma segura. Es importante entender los niveles de SDK, las librerías de compatibilidad y la degradación elegante.
Niveles de SDK: min, target, compile
minSdk → the OLDEST Android version the app supports (older devices can't install it)
→ lower minSdk = more devices reached, but more compatibility work
targetSdk → the version the app is TESTED/optimized against (and opts into its behaviors)
→ should be kept current (Play requires a recent targetSdk)
compileSdk → the SDK version used to COMPILE (access to newer APIs)
→ Balance: support enough old devices (minSdk) while targeting current behavior (targetSdk).
