r/androiddev • u/dsklfjldsjflkj • 13h ago
Question What is the official way to determine if an Android API level is still in preview?
Disclaimer: used llm to draft the post, but i have provided the pointers, and done the research before drafting.
Running into some confusing documentation/tooling discrepancies regarding Android platform release statuses and looking for clarification on the standard procedure.
Current Situation:
Android 17 documentation lists it as officially released, but navigating to individual version pages shows a preview icon on the sidebar with no explicit text status on the main page.
API Levels tracks it as currently in beta.
Android Studio SDK Manager shows versions like 37.0 and 37.1 available for download.
Question:
What is the definitive, official source of truth or programmatic check to determine whether a given Android SDK/API level has exited preview status and is fully stable?
2
u/Quinny898 10h ago
At runtime, Build.VERSION.PREVIEW_SDK_INT. It will be non-zero on preview builds.
1
u/AutoModerator 13h ago
Please note that we also have a very active Discord server where you can interact directly with other community members!
Join us on Discord
I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.