> Documentation index: https://developer.android.com/about/versions/llms.txt

### Beta 1

|---|---|
| **Release date** | December 3, 2026 |
| **Builds** | DP21.261120.006 |
| **Emulator support** | x86 (64-bit), ARM (v8-A) |
| **Security patch level** | 2026-11-05 |
| **Google Play services** | 26.41.31 |

## Android 18 Beta 1 (December 2026)

[Android 18 Beta 1](https://developer.android.com/blog/posts/the-first-beta-of-android-18.md.txt) is available with features and system
changes to try with your apps. This release is suitable for development,
testing, and general use. However, Android 18 is still in active
development, so the Android system and apps running on it *might not always work
as expected*.

Android 18 (API level 38) is an annual major
SDK release that includes planned behavior changes. In some cases, these changes
can affect apps until they're updated to support Android 18, so you
might see impacts ranging from minor issues to more significant limitations. In
general, most apps work as expected, as do most APIs and features.

The Android 18 Beta program is planned to run on a biweekly update
cadence in parallel with the conclusion of the Android 17 QPR3 Beta program. If
your device runs Android 17 QPR3 Beta and you want to receive the stable Android
17 QPR3 release without wiping data, don't install the Android 18 Beta
1 update. Instead, opt out on the
[Android Beta program](https://www.google.com/android/beta) site, ignore the downgrade OTA
update, and wait for the stable Android 17 QPR3
release. To report issues or share feedback on Beta 1, see
[Feedback and issues](https://developer.android.com/about/versions/18/feedback.md.txt).

### What's new in Beta 1

Android 18 Beta 1 extends the platform's memory management foundation,
expands Android Runtime (ART) concurrency and verification improvements, adds
customization and format conversion capabilities to Photo Picker, introduces
AppSearch and system I/O APIs, and strengthens privacy and adaptive UI support.

#### Memory and performance

- **Soft memory limits for background services** : Android 18 rolls out per-process soft memory limits in stages across Beta builds when an app process runs a background service with no visible UI. Limits are scaled by service role and device RAM. Crossing a soft limit doesn't terminate an app on its own; instead, the kernel evicts cold file-backed pages from RAM and compresses idle private heap pages into swap (zRAM).
  - **Covered roles** : Applies to most [foreground service types](https://developer.android.com/develop/background-work/services/fgs/service-types.md.txt) (such as [`dataSync`](https://developer.android.com/reference/android/content/pm/ServiceInfo.md.txt#FOREGROUND_SERVICE_TYPE_DATA_SYNC), [`mediaPlayback`](https://developer.android.com/reference/android/content/pm/ServiceInfo.md.txt#FOREGROUND_SERVICE_TYPE_MEDIA_PLAYBACK), [`location`](https://developer.android.com/reference/android/content/pm/ServiceInfo.md.txt#FOREGROUND_SERVICE_TYPE_LOCATION), [`connectedDevice`](https://developer.android.com/reference/android/content/pm/ServiceInfo.md.txt#FOREGROUND_SERVICE_TYPE_CONNECTED_DEVICE), and [`specialUse`](https://developer.android.com/reference/android/content/pm/ServiceInfo.md.txt#FOREGROUND_SERVICE_TYPE_SPECIAL_USE)) and persistent system-bound services such as [`NotificationListenerService`](https://developer.android.com/reference/android/service/notification/NotificationListenerService.md.txt). When a process holds multiple active roles, the most generous limit applies.
  - **Exemptions** : Processes displaying visible UI (including split-screen and Picture-in-Picture), along with real-time capture and communication service types ([`camera`](https://developer.android.com/reference/android/content/pm/ServiceInfo.md.txt#FOREGROUND_SERVICE_TYPE_CAMERA), [`microphone`](https://developer.android.com/reference/android/content/pm/ServiceInfo.md.txt#FOREGROUND_SERVICE_TYPE_MICROPHONE), and [`phoneCall`](https://developer.android.com/reference/android/content/pm/ServiceInfo.md.txt#FOREGROUND_SERVICE_TYPE_PHONE_CALL)), remain exempt.
  - **Developer actions** : If your background service experiences memory pressure, [decode bitmaps](https://developer.android.com/topic/performance/memory/guide/bitmaps.md.txt) to display sizes, [release hidden UI caches](https://developer.android.com/topic/performance/memory/manage-app-memory.md.txt#release) in [`Activity.onStop`](https://developer.android.com/reference/android/app/Activity.md.txt#onStop()) ([`TRIM_MEMORY_UI_HIDDEN`](https://developer.android.com/reference/android/content/ComponentCallbacks2.md.txt#TRIM_MEMORY_UI_HIDDEN) isn't dispatched while an active foreground or system-bound service keeps your process running), and call [`Service.stopSelf`](https://developer.android.com/reference/android/app/Service.md.txt#stopSelf()) when background work finishes. Move large downloads to [`WorkManager`](https://developer.android.com/develop/background-work/background-tasks/persistent.md.txt) or [user-initiated data transfer jobs](https://developer.android.com/develop/background-work/background-tasks/uidt.md.txt), and consider isolating long-lived UI-free services in a [lightweight worker process](https://developer.android.com/topic/performance/memory/guide/process-splitting.md.txt).
  - **Testing and related tools** : Inspect active limits with `adb shell am memory-limiter status` and `adb shell dumpsys meminfo PACKAGE_NAME`, or test deterministically with `adb shell am memory-limiter manual -p PID SIZE_MB`. These soft limits build on [App Memory Budgets](https://developer.android.com/topic/performance/memory/app-memory-budgets.md.txt) ([`MemoryBudgetManager`](https://developer.android.com/reference/android/app/MemoryBudgetManager.md.txt) and [`PackageManager.getMemoryBudgets`](https://developer.android.com/reference/android/content/pm/PackageManager.md.txt#getMemoryBudgets(android.content.pm.ApplicationInfo))), [`ApplicationExitInfo`](https://developer.android.com/reference/android/app/ApplicationExitInfo.md.txt) reasons ([`REASON_MEMORY_LIMITER`](https://developer.android.com/reference/android/app/ApplicationExitInfo.md.txt#REASON_MEMORY_LIMITER), [`REASON_ANOMALY`](https://developer.android.com/reference/android/app/ApplicationExitInfo.md.txt#REASON_ANOMALY), and [`getAnrInfo`](https://developer.android.com/reference/android/app/ApplicationExitInfo.md.txt#getAnrInfo())), [`ProfilingManager`](https://developer.android.com/topic/performance/tracing/profiling-manager/overview.md.txt) triggers ([`TRIGGER_TYPE_OOM`](https://developer.android.com/reference/android/os/ProfilingTrigger.md.txt#TRIGGER_TYPE_OOM) and [`TRIGGER_TYPE_ANOMALY`](https://developer.android.com/reference/android/os/ProfilingTrigger.md.txt#TRIGGER_TYPE_ANOMALY)), Jetpack [`MemorySnapshot`](https://developer.android.com/reference/kotlin/androidx/core/os/MemorySnapshot.md.txt), and in-process memory-safe software audio decoders ([`MediaCodecInfo.SECURITY_MODEL_MEMORY_SAFE`](https://developer.android.com/reference/android/media/MediaCodecInfo.md.txt#SECURITY_MODEL_MEMORY_SAFE)). For more information, see [Elevated process memory limits](https://developer.android.com/about/versions/18/features-and-changes.md.txt#elevated-process-memory-limits) and [App memory budgets](https://developer.android.com/about/versions/18/features-and-changes.md.txt#app-memory-budgets).
- **Time-based garbage collection triggering by default in ART** : ART enables time-based garbage collection triggering by default on Android 18, adapting concurrent GC cadence to both allocation rate and elapsed time since the previous collection, including reclaiming unused heap memory once an app becomes idle. No code changes are required, but keep two behaviors in mind when profiling:
  - Avoid manual idle [`System.gc`](https://developer.android.com/reference/java/lang/System.md.txt#gc()) calls, because ART's time-based collector automatically reclaims unreachable allocations at lower CPU overhead.
  - Don't use [`Runtime.totalMemory`](https://developer.android.com/reference/java/lang/Runtime.md.txt#totalMemory()) to predict GC timing. It reports the heap growth limit, while live allocation footprint is reflected by `totalMemory() - freeMemory()` ([`Runtime.freeMemory`](https://developer.android.com/reference/java/lang/Runtime.md.txt#freeMemory())) and `Heap Alloc` in `dumpsys meminfo`.

#### Core runtime and app compatibility

- **Lock-free `MessageQueue` for all apps** : The legacy monitor-locked implementation is removed so [`android.os.MessageQueue`](https://developer.android.com/reference/android/os/MessageQueue.md.txt) runs lock-free for every app regardless of `targetSdkVersion`, alongside fast-path consumer and wakeup optimizations. Apps targeting API level 36 or lower and SDKs that use unsupported reflection to inspect private `MessageQueue` fields (such as `mMessages`) receive `null` on Android 18. Migrate custom main-thread watchdogs and frame monitors to public [`Looper`](https://developer.android.com/reference/android/os/Looper.md.txt) logging or [`ProfilingManager`](https://developer.android.com/topic/performance/tracing/profiling-manager/overview.md.txt), and update UI testing libraries such as Espresso and Robolectric.
- **Sealed class verification in ART** : ART enforces OpenJDK 17 `sealed` class and interface restrictions at class-load time, and SDK JARs are built for Java language version 17. When loading a class or interface, ART verifies that a `sealed` class isn't also marked `final`, that any direct subclass or subinterface is listed in the supertype's permitted subclasses, that a sealed supertype is defined by the same [`ClassLoader`](https://developer.android.com/reference/java/lang/ClassLoader.md.txt) as its permitted subtype, and that subtypes in a different package are declared `public`. Classes that fail these checks are rejected with a [`VerifyError`](https://developer.android.com/reference/java/lang/VerifyError.md.txt). Recompile dependent modules together and verify tooling if your app dynamically loads DEX code, uses custom `ClassLoader` implementations, instruments bytecode, or generates subclasses of sealed types at runtime.
- **Disallowing synchronization on value-based classes** : ART no longer permits monitor synchronization (such as `synchronized` blocks) on instances of value-based classes for apps running on and targeting Android 18 (API level 38) or higher. Replace value-based lock objects (such as `Integer` or `Boolean`) with instances of a non-value class such as `Object`. You can detect explicit synchronization attempts on a release APK by running `dex2oat` in an `adb shell` session and checking `adb logcat`. For more information, see [OpenJDK 25 APIs](https://developer.android.com/about/versions/18/features-and-changes.md.txt#openjdk-25-apis-for-27q2).
- **Deprecation of dynamic permission tree APIs** : [`PackageManager.addPermission`](https://developer.android.com/reference/android/content/pm/PackageManager.md.txt#addPermission(android.content.pm.PermissionInfo)), [`addPermissionAsync`](https://developer.android.com/reference/android/content/pm/PackageManager.md.txt#addPermissionAsync(android.content.pm.PermissionInfo)), and [`removePermission`](https://developer.android.com/reference/android/content/pm/PackageManager.md.txt#removePermission(java.lang.String)) are deprecated and slated to become no-ops in a future release. Declare permissions statically in `AndroidManifest.xml` instead.

#### Media and Photo Picker

- **Customizable navigation in the Embedded Photo Picker** : Added APIs in [`android.widget.photopicker`](https://developer.android.com/reference/kotlin/android/widget/photopicker/package-summary.md.txt) give host apps finer control over [Embedded Photo Picker](https://developer.android.com/training/data-storage/shared/photo-picker/embedded.md.txt) sessions:
  - **Programmatic and restricted tab navigation** : Use [`EmbeddedPhotoPickerFeatureInfo.Builder.setAllowedNavigationTabs`](https://developer.android.com/reference/kotlin/android/widget/photopicker/EmbeddedPhotoPickerFeatureInfo.Builder.md.txt#setallowednavigationtabs) with [`NavigationTabConstants`](https://developer.android.com/reference/kotlin/android/widget/photopicker/NavigationTabConstants.md.txt) ([`NAV_TAB_PHOTOS`](https://developer.android.com/reference/kotlin/android/widget/photopicker/NavigationTabConstants.md.txt#nav_tab_photos), [`NAV_TAB_COLLECTIONS`](https://developer.android.com/reference/kotlin/android/widget/photopicker/NavigationTabConstants.md.txt#nav_tab_collections), and [`NAV_TAB_SEARCH`](https://developer.android.com/reference/kotlin/android/widget/photopicker/NavigationTabConstants.md.txt#nav_tab_search)) to control accessible tabs, navigate to an allowed tab with [`EmbeddedPhotoPickerSession.navigateTo`](https://developer.android.com/reference/kotlin/android/widget/photopicker/EmbeddedPhotoPickerSession.md.txt#navigateto), and listen for completion in [`EmbeddedPhotoPickerClient.onNavigationCompleted`](https://developer.android.com/reference/kotlin/android/widget/photopicker/EmbeddedPhotoPickerClient.md.txt#onnavigationcompleted).
  - **Expanded-mode bar visibility** : Control whether the navigation bar or search bar appears in expanded mode using [`setNavigationBarVisibleInExpandedMode`](https://developer.android.com/reference/kotlin/android/widget/photopicker/EmbeddedPhotoPickerUiCustomizationParams.Builder.md.txt#setnavigationbarvisibleinexpandedmode) and [`setSearchBarVisibleInExpandedMode`](https://developer.android.com/reference/kotlin/android/widget/photopicker/EmbeddedPhotoPickerUiCustomizationParams.Builder.md.txt#setsearchbarvisibleinexpandedmode) on [`EmbeddedPhotoPickerUiCustomizationParams.Builder`](https://developer.android.com/reference/kotlin/android/widget/photopicker/EmbeddedPhotoPickerUiCustomizationParams.Builder.md.txt).
  - **Inline camera tile and search status callbacks** : Enable an inline camera button tile in the media grid with [`setCameraButtonEnabled`](https://developer.android.com/reference/kotlin/android/widget/photopicker/EmbeddedPhotoPickerFeatureInfo.Builder.md.txt#setcamerabuttonenabled) to handle capture flows in [`onCameraButtonClicked`](https://developer.android.com/reference/kotlin/android/widget/photopicker/EmbeddedPhotoPickerClient.md.txt#oncamerabuttonclicked), and opt into search availability updates with [`setSearchStatusEventsEnabled`](https://developer.android.com/reference/kotlin/android/widget/photopicker/EmbeddedPhotoPickerFeatureInfo.Builder.md.txt#setsearchstatuseventsenabled) and [`onSearchStatusChanged`](https://developer.android.com/reference/kotlin/android/widget/photopicker/EmbeddedPhotoPickerClient.md.txt#onsearchstatuschanged).
- **On-the-fly HEIF to JPEG conversion in Photo Picker** : When a user previews a HEIF or HEIC photo in [Photo Picker](https://developer.android.com/training/data-storage/shared/photo-picker.md.txt), a **Use supported format** option in the preview menu converts selected images to JPEG on the fly in a temporary system cache without altering the original gallery items. Converted copies preserve key EXIF metadata (and location when shared) and return a standard JPEG URI with no code changes required. Because conversion is user-selected per photo and falls back to the original file if it times out, continue handling HEIF and HEIC inputs where supported.

#### On-device search and system I/O

- **AppSearch pre-quantized embedding vectors** : In [`android.app.appsearch`](https://developer.android.com/reference/kotlin/android/app/appsearch/package-summary.md.txt), [`EmbeddingVector.QuantizedData`](https://developer.android.com/reference/kotlin/android/app/appsearch/EmbeddingVector.QuantizedData.md.txt) and [`EmbeddingVector.getQuantizedData`](https://developer.android.com/reference/kotlin/android/app/appsearch/EmbeddingVector.md.txt#getquantizeddata) let [AppSearch](https://developer.android.com/develop/ui/views/search/appsearch.md.txt) apps index and retrieve pre-quantized byte-level embeddings alongside their [`scale`](https://developer.android.com/reference/kotlin/android/app/appsearch/EmbeddingVector.QuantizedData.md.txt#getscale) and [`minValue`](https://developer.android.com/reference/kotlin/android/app/appsearch/EmbeddingVector.QuantizedData.md.txt#getminvalue) parameters, reducing memory and IPC overhead for on-device semantic search workloads.
- **AppSearch multi-signer `PackageIdentifier`** : A [`PackageIdentifier(String, List<byte[]>)`](https://developer.android.com/reference/kotlin/android/app/appsearch/PackageIdentifier.md.txt#PackageIdentifier(kotlin.String,%20kotlin.collections.MutableList)) constructor and [`getMultiSignerSha256Certificates`](https://developer.android.com/reference/kotlin/android/app/appsearch/PackageIdentifier.md.txt#getmultisignersha256certificates) let you grant schema visibility to apps simultaneously signed by multiple active certificates under AND-logic, such as multi-certificate Progressive Web Apps (PWAs).
- **File access hints with `Os.posix_fadvise`** : Android 18 exposes [`Os.posix_fadvise`](https://developer.android.com/reference/kotlin/android/system/Os.md.txt#posix_fadvise) and [`OsConstants`](https://developer.android.com/reference/kotlin/android/system/OsConstants.md.txt) ([`POSIX_FADV_NORMAL`](https://developer.android.com/reference/kotlin/android/system/OsConstants.md.txt#posix_fadv_normal), [`POSIX_FADV_SEQUENTIAL`](https://developer.android.com/reference/kotlin/android/system/OsConstants.md.txt#posix_fadv_sequential), [`POSIX_FADV_RANDOM`](https://developer.android.com/reference/kotlin/android/system/OsConstants.md.txt#posix_fadv_random), [`POSIX_FADV_WILLNEED`](https://developer.android.com/reference/kotlin/android/system/OsConstants.md.txt#posix_fadv_willneed), [`POSIX_FADV_DONTNEED`](https://developer.android.com/reference/kotlin/android/system/OsConstants.md.txt#posix_fadv_dontneed), and [`POSIX_FADV_NOREUSE`](https://developer.android.com/reference/kotlin/android/system/OsConstants.md.txt#posix_fadv_noreuse)) to managed code. Apps that manage large media files, databases, or on-device ML model weights can declare expected file access patterns and advise the kernel when pages are no longer needed without custom JNI wrappers.

#### Privacy and security

- **Restrict implicit URI grants** : Starting in Android 18, the system no longer automatically adds implicit URI grants for [`ACTION_SEND`](https://developer.android.com/reference/android/content/Intent.md.txt#ACTION_SEND) and [`ACTION_SEND_MULTIPLE`](https://developer.android.com/reference/android/content/Intent.md.txt#ACTION_SEND_MULTIPLE) intents (content URIs in [`EXTRA_STREAM`](https://developer.android.com/reference/android/content/Intent.md.txt#EXTRA_STREAM)) or [`ACTION_IMAGE_CAPTURE`](https://developer.android.com/reference/android/provider/MediaStore.md.txt#ACTION_IMAGE_CAPTURE) and related capture intents ([`EXTRA_OUTPUT`](https://developer.android.com/reference/android/provider/MediaStore.md.txt#EXTRA_OUTPUT)) when the sending app targets Android 18 (API level 38) or higher. Beta 1 doesn't enforce the restriction yet. To find affected intents, turn on [`detectImplicitUriPermissionGrant`](https://developer.android.com/reference/android/os/StrictMode.VmPolicy.Builder.md.txt#detectImplicitUriPermissionGrant()) in [`StrictMode`](https://developer.android.com/reference/android/os/StrictMode.md.txt) (available since Android 17) or search Logcat for `Please set the grant explicitly in the app`. Add [`Intent.FLAG_GRANT_READ_URI_PERMISSION`](https://developer.android.com/reference/android/content/Intent.md.txt#FLAG_GRANT_READ_URI_PERMISSION) to send intents and both `FLAG_GRANT_READ_URI_PERMISSION` and [`FLAG_GRANT_WRITE_URI_PERMISSION`](https://developer.android.com/reference/android/content/Intent.md.txt#FLAG_GRANT_WRITE_URI_PERMISSION) to capture intents, and handle missing grants if your app receives these intents. For more information, see [Restrict implicit URI grants](https://developer.android.com/about/versions/18/features-and-changes.md.txt#restrict-implicit-uri-grants).
- **Rust PNG codec in Skia** : Android's graphics stack uses a Rust PNG implementation in Skia in place of the previous C++ `libpng` library when decoding and encoding PNGs and PNG-embedded ICO files. This drop-in replacement preserves pixel and feature parity---including NinePatch assets, gainmaps, and HDR metadata---while hardening apps against memory-corruption vulnerabilities when rendering untrusted image data.

#### Adaptive UI, form factors, and system integration

- **Standardized default system font customization** : Device manufacturers can customize the default system typeface through a standardized platform mechanism so generic font families such as `sans-serif` dynamically map to the configured font across System UI and apps. Build flexible text layouts rather than hardcoding fixed container heights, strict line counts, or layout calculations tailored to Roboto glyph metrics.
- **Desktop windowing rotation continuity**: Rotating a device during a desktop windowing session (such as on a tablet or a phone connected to an external display) proportionally repositions freeform windows within visible bounds and preserves left and right tiled split layouts.
- **Hardware input keycodes**: The input framework adds mappings for new hardware keys, including the USB HID Contextual Assistance specification. Verify that custom hardware keyboard handlers handle newly introduced keycodes gracefully.
- **Manage Health Connect permissions in-app** : Apps can launch [`HealthConnectManager.ACTION_SHOW_HEALTH_PERMISSIONS`](https://developer.android.com/reference/kotlin/android/health/connect/HealthConnectManager.md.txt#action_show_health_permissions) (optionally passing [`Intent.EXTRA_PACKAGE_NAME`](https://developer.android.com/reference/android/content/Intent.md.txt#EXTRA_PACKAGE_NAME)) to send users to the Health Connect permission settings page. When `EXTRA_PACKAGE_NAME` is provided for an app that already has at least one granted health permission, it navigates directly to that app's permission screen; otherwise, it opens the **Connected apps** list.
- **On-device Web App Installer enabled by default**: The system Web App Installer service is enabled by default (removing the previous Developer options toggle), letting browsers package and install Progressive Web Apps as standalone Trusted Web Activities on the device.

### Known issues in Beta 1

- App builds will fail against the beta 38 SDK with build tools 38.0.0 rc1. The workaround is to use an older version of the build tools (such as 37.0.2).
- The Microsoft Teams onboarding flow is currently broken. The welcome screen freezes after tapping "Get started".