Android భారీ పరిధిలో పరికరాలు మరియు OS సంస్కరణలపై నడుస్తుంది ("విభజన"), కాబట్టి యాప్లు సంస్కరణ సామఞ్జస్యతను నిర్వహించాలి — పాత సంస్కరణలకు సపోర్ట్ చేస్తూ కొత్త ఫీచర్లను సురక్షితంగా ఉపయోగించుకోవాలి. SDK స్థరాలు, సామఞ్జస్య లైబ్రరీలు, మరియు సున్నితమైన క్షీణతను అర్థం చేసుకోవడం ముఖ్యమైనది.
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).
