Android 17 for developers explained: API 37 large-screen rules, AppFunctions for AI agents, the Compose-first shift, background audio limits and more.
Android 17 started rolling out to supported Pixel phones in June 2026, and most Android teams have spent the months since dealing with last year’s work. Google Play’s deadline to target Android 16 (API level 36) passed on August 31, 2026. Now that it’s behind you, it’s time to look at what API level 37 asks of your app.
Android 17 is more than a cosmetic update. It ends a long-standing large-screen opt-out, changes how activities handle configuration changes, cuts off background audio tricks, and adds AppFunctions, a platform API that lets AI agents call into your app. Google is also now saying openly that Android development is “Compose-first.”
This guide covers the changes that matter most for Android developers, what breaks when you raise targetSdk to 37, and how to plan your migration.
Android 17 at a Glance
- API level: 37
- Release: Announced and rolled out to most supported Pixel devices in mid-June 2026, with other manufacturers following in later months.
- New release model: Google replaced the old Developer Preview program with a continuous Canary channel. The Q2 release is the only quarterly release with planned app-breaking behavior changes. A smaller Q4 SDK release adds APIs and features.
- Source code: Available on AOSP.
If you skipped the betas, the main thing to know is that most of the disruptive changes only apply once you target API 37. That gives you some time, but not much.
1. The Large-Screen Opt-Out Is Gone
This is the biggest change in Android 17 for developers. On large screens (smallest width of 600dp or more), apps targeting API 37 can no longer restrict orientation or resizability. The system ignores:
- screenOrientation and setRequestedOrientation() values such as portrait, landscape, sensorPortrait and userLandscape
- resizeableActivity (all values)
- minAspectRatio and maxAspectRatio (all values)
Google says there are more than 580 million large-screen Android devices in use, including tablets, foldables, Chromebooks and desktop-style setups. On those devices your app now has to handle any window size.
Exemptions: Screens below sw600dp are unaffected. Apps that declare themselves as games through android:appCategory are also exempt. Users can still override an app’s behavior in the system aspect-ratio settings.
How to test: Use the Pixel Tablet or Pixel Fold emulator, or turn on the UNIVERSAL_RESIZABLE_BY_DEFAULTcompatibility flag on an Android 16 device to see how your app behaves before you raise your target.
What to do now
Audit every activity that locks orientation. Move to window size classes, make sure state survives resizing, and test split-screen and free-form windows. If your layouts are hard-coded for a portrait phone, this is the work to schedule first.
2. Fewer Activity Restarts on Configuration Changes
Android 17 stops recreating activities by default for several configuration changes, including keyboard, keyboardHidden, navigation, touchscreen, colorMode, and desk-mode UI changes. Running activities receive these through onConfigurationChanged() instead.
This avoids the state loss users see when, for example, they plug a keyboard into a tablet. It also means code that assumed a fresh onCreate() after these changes may stop updating. If you need the old behavior, use the new android:recreateOnConfigChanges manifest attribute to opt specific changes back in.
3. Compose-First Is Now Official Policy
Google has been encouraging Jetpack Compose for years. With Android 17 the position is explicit: new Android UI APIs and libraries are being built for Compose, and View-based components are moving to maintenance mode with only critical bug fixes.
Your existing View code will keep working. But new adaptive-layout, multitasking and large-screen features will arrive in Compose first, and in some cases only in Compose. If your app is still mostly XML layouts, start moving new screens to Compose and use the interop APIs to migrate gradually instead of all at once.
4. AppFunctions: Making Your App Usable by AI Agents
The AI-focused change in Android 17 is AppFunctions, a platform API with a Jetpack library that lets your app expose specific capabilities as “tools” that AI agents can discover and call. Examples include “create a note,” “book a table” or “start a workout.”
The Jetpack library keeps the setup light. You annotate functions and describe them with KDoc comments, and the system makes them available to agents. Gemini integration was in private preview with trusted testers when Android 17 launched.
This matters because more of what users do on their phones may soon start in an assistant instead of a home-screen icon. Apps that expose clear, well-described functions will be easier for agents to use. If your app has a few high-value actions, they are good first candidates for AppFunctions.
Pairing tip: For AI features inside your own app, the ML Kit GenAI APIs, including the Prompt API for on-device Gemini Nano, are worth looking at alongside AppFunctions. They let you run summarization, rewriting and custom prompts on supported devices without a server round-trip.
5. Performance: Lock-Free MessageQueue, Generational GC, Stricter Memory Limits
Android 17 includes several runtime changes that most apps will benefit from without any code changes. A few of them can break apps that rely on unusual tricks:
- Lock-free MessageQueue: Apps targeting API 37 get a new implementation that reduces CPU usage and missed frames. Code that uses reflection on MessageQueue private fields will break.
- Generational garbage collection: ART’s Concurrent Mark-Compact collector now runs frequent, lightweight young-generation collections. This also reaches Android 12+ devices through Google Play system updates.
- static final really means final: For apps targeting Android 17, changing static final fields through reflection throws IllegalAccessException, and writing them through JNI crashes the app.
- Stricter memory limits: Processes that exceed per-device memory limits are terminated.
- New ProfilingManager triggers: Cold start, OOM and excessive-CPU triggers help you capture traces from real devices when problems happen.
If you depend on older libraries that use reflection, check for updates before you raise your target SDK.
6. Background Audio Is Locked Down
Android 17 limits background audio playback, audio focus requests and volume-change APIs such as AudioManager.adjustStreamVolume to actions the user started. When an app breaks the rule, playback and volume calls fail silently, and audio focus requests return AUDIOFOCUS_REQUEST_FAILED.
Media, podcast, fitness and navigation apps should make sure playback starts from a clear user action and runs inside a proper media session and foreground service. Because these failures produce no exception, add logging so you can catch them in QA.
7. Privacy and Security Updates
- Cleartext traffic: android:usesCleartextTraffic is deprecated. Apps targeting Android 17 that rely on it without a Network Security Configuration will have cleartext (HTTP) traffic blocked by default. Move any remaining HTTP exceptions into a Network Security Configuration file.
- Post-quantum and hybrid crypto: A new HPKE (Hybrid Public Key Encryption) service provider interface and post-quantum cryptography support help future-proof encrypted data.
- System contact picker: Apps can let users share specific contacts instead of requesting full contacts access.
8. Multitasking: App Bubbles, Bubble Bar and Continue On
Users get App Bubbles that float apps over other content, a Bubble Bar on large screens, interactive picture-in-picture in desktop environments, and Continue On for moving tasks between Android devices. These features add to the case for adaptive layouts, because your app will appear in more window shapes and contexts than before.
9. Media and Camera Additions
Camera and video apps get several new APIs:
- CameraCaptureSession.updateOutputConfigurations() attaches and detaches output surfaces without reconfiguring the session, so switching from photo to video is smoother.
- Metadata from all active physical cameras during logical multi-camera capture.
- RAW14 capture support.
- Versatile Video Coding (VVC) support through the video/vvc MIME type, on devices with hardware decode support.
- Constant-quality encoding mode for MediaRecorder.
Your Android 17 Migration Checklist
- Update to the latest Android Studio and the API 37 SDK.
- Run your app on Android 17 without changing targetSdk to catch platform-wide issues.
- Remove orientation and aspect-ratio locks, and test on tablet and foldable emulators.
- Review onConfigurationChanged() handling for keyboard, navigation and color-mode changes.
- Look for reflection on MessageQueue or static final fields in your code and dependencies.
- Check that background audio only starts from user-initiated playback.
- Replace usesCleartextTraffic with a Network Security Configuration.
- Find two or three key actions to expose through AppFunctions.
- Build new UI in Compose.
- Raise targetSdk to 37 and run a full regression pass.
Google Play has historically required apps to target the new API level about a year after each release. If that pattern continues, expect an API 37 deadline around August 2027. Check the Play Console’s target API requirements page for the official date.
Conclusion: Use the Time You Have
Android 17 pushes developers toward apps that adapt to any screen, are built with Compose, behave well in the background and can be used by AI agents. The large-screen and background-audio changes need real work, and AppFunctions is the most important new feature in the release for anyone building AI features.
Teams that start now can treat API 37 as a planned upgrade instead of a last-minute fix before the Play deadline.
Building or modernizing an Android app? Explore more developer guides and app reviews on Apps400.com. If you want a team to handle your Android 17 migration, Compose rewrite or AI integration, talk to the app development experts at GegoSoft Technologies today.
Before you publish:
- Play deadline is an estimate: Google hasn’t announced the API 37 deadline yet. The “around August 2027” line is based on its usual yearly pattern, which the post says.
- Background audio scope: Google’s announcement doesn’t say whether the background audio limits apply only when you target API 37. The post presents them as an Android 17 change without tying them to the target level.
Sources:
- Apps400 Blog Content Calendar
- Android Developers Blog: The first beta of Android 17
- Android 17 is here (summary of the Android Developers Blog post)
- Pulse 2.0: Google Releases Android 17 For Supported Pixel Devices
- Android Developers: ML Kit’s Prompt API for on-device Gemini Nano
- Google Play target API level requirements

