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).
