YuSMP Group logo
YuSMP Group Editorial Team Editorial team, YuSMP Group
An opened smartphone on a wooden desk with its circuit board and memory chips glowing green, a laptop blurred behind it

The short version

Android 18 is the next major SDK release (API level 38), and its first beta already changes how apps behave in the background. Most apps need no code changes, but SDKs that use reflection, apps with heavy background services and code that relies on old runtime shortcuts can break. Teams that ship Android apps should run their test suites on Beta 1 now, before APIs freeze in February.

What did Google release?

On December 4, 2026, Google published the first beta of Android 18 for supported Pixel phones and the 64-bit Android Emulator. The Verge, citing 9to5Google, reported the same day that the build, codenamed "daifuku," was rolling out through the Android Flash Tool. Android 17 Beta 1, by comparison, arrived in February 2026.

Google calls Android 18 its annual major SDK release. It is the release that carries planned app-breaking behavior changes and the only one this cycle with NDK updates. Quarterly releases continue around it, but breaking changes are reserved for the Q2 2027 release.

The schedule also changes. Instead of monthly milestones, Google plans to ship Beta builds roughly every two weeks, in parallel with the end of the Android 17 QPR3 beta. Platform Stability, when SDK and NDK APIs are final, is targeted for February 2027.

How do the new soft memory limits work?

Android 18 adds per-process soft memory limits for processes that run a service without visible UI. Google says most mainstream phones still have 4 GB to 8 GB of RAM, and leftover bitmaps, startup data and hidden screens in background processes push other apps out of memory.

  • Not a kill switch: crossing the soft limit does not terminate the app. The kernel evicts cold file pages and compresses idle heap pages into zRAM.
  • Who is covered: most foreground service types, including dataSync, mediaPlayback, location, connectedDevice and specialUse, plus system-bound services such as NotificationListenerService.
  • Who is exempt: processes with visible UI, split-screen and Picture-in-Picture, and camera, microphone and phoneCall service types.
  • Gradual rollout: the limits reach Beta 1 devices in stages. Teams can force one for testing with adb shell am memory-limiter manual.

A service slows down only if its own working set exceeds the limit. Google's advice: release hidden UI state in onStop(), move large downloads to WorkManager and consider a separate lightweight process for long-running sync. Google also points to Play's February 2027 Android Vitals thresholds for memory usage.

Which runtime changes can break existing apps?

Lock-free MessageQueue for every app

Android 17 introduced a lock-free MessageQueue for apps targeting API level 37. In Android 18 the old implementation is gone for all apps. Code that reads private fields such as mMessages through reflection now gets null. That affects custom main-thread watchdogs, frame monitors and outdated versions of Espresso and Robolectric.

Sealed class checks in ART

The Android Runtime now enforces Java 17 sealed rules when it loads classes. Apps built in one pass should be fine. Apps that load DEX code dynamically, use custom class loaders, rewrite bytecode or mock sealed types with Mockito in instrumented tests can hit a VerifyError.

No locking on value-based classes

For apps targeting Android 18, synchronized blocks on instances such as Integer or Boolean now throw an exception. The fix is a plain Object used as the lock.

Explicit URI grants

Apps targeting API level 38 no longer get automatic read or write grants on URIs passed in share and camera capture intents. Beta 1 does not enforce it yet, but StrictMode can already flag affected intents.

What it means for US & EU software teams

Two months, not six

With Platform Stability planned for February, the window to find and fix breakage before APIs freeze is about eight weeks, and it overlaps with the holidays. Teams that usually start Android testing in spring should move that work into the current sprint plan.

Third-party SDKs are the main risk

The MessageQueue and sealed class changes mostly hit code that teams did not write: analytics, crash reporting, performance monitoring and test libraries. An inventory of SDK versions, and a check of which vendors already support Android 18, is cheaper than debugging a crash after release. Cross-platform apps built with Flutter or React Native depend on the same native layer and need the same checks.

Background-heavy products need a memory budget

Fitness, logistics, media and messaging apps that keep long-running services will feel the soft limits first. Measuring the working set of those services now, and splitting UI-free work into its own process where it makes sense, keeps them fast on the mid-range phones most users carry.

What should Android teams test first?

  1. Install your current release on Beta 1. Use a Pixel device or the 64-bit emulator image and run your full instrumentation suite.
  2. Profile background services. Check adb shell am memory-limiter status and dumpsys meminfo, then test with a manual limit.
  3. Audit reflection and SDK versions. Search for access to private MessageQueue fields and update Espresso, Robolectric and monitoring SDKs.
  4. Turn on StrictMode for URI grants. Add explicit read and write grant flags to share and capture intents.
  5. Remove locks on boxed values. Replace synchronized on Integer or Boolean with a dedicated lock object.
  6. Add the beta to CI. With builds every two weeks, an emulator job on the latest Android 18 image catches regressions early.

Frequently asked questions

When was Android 18 Beta 1 released?

Google published Android 18 Beta 1 on December 4, 2026, for supported Pixel phones and the 64-bit Android Emulator. The build is DP21.261120.004 and the SDK is API level 38. For comparison, Android 17 Beta 1 arrived in February 2026.

What does the biweekly beta cadence mean?

Instead of monthly milestones, Google plans to ship a new Android 18 beta roughly every two weeks as features pass internal validation. Enrolled Pixel devices and emulator images update automatically, so teams should run their test suites on each drop rather than once a month.

Will soft memory limits crash my app?

No. According to Google, crossing a soft limit does not terminate the app. The kernel evicts cold file pages and compresses idle heap pages into zRAM, which can slow a background service whose own working set is too large. The limits apply when a process runs a service with no visible UI.

Which apps are most likely to break on Android 18?

Apps or SDKs that read private MessageQueue fields through reflection, apps that load DEX code dynamically or mock sealed classes at runtime, code that synchronizes on value-based classes such as Integer, and apps that rely on implicit URI grants in share or camera intents once they target API level 38.

When will the final Android 18 release ship?

Google targets Platform Stability, with final SDK and NDK APIs, for February 2027 and says the release with app-breaking behavior changes lands in Q2 2027. Teams then have several months to finish compatibility testing before users receive it.

Sources

Android Developers Blog — The first beta of Android 18 (December 4, 2026)
The Verge — Android 18’s first beta is starting to drop (December 4, 2026)
Android Police — Android 18 Beta 1 is here early, and Pixel owners can try it now (December 2026)
Android Developers — Android 18 release notes