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 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 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.
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
(such as
dataSync,mediaPlayback,location,connectedDevice, andspecialUse) and persistent system-bound services such asNotificationListenerService. 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,microphone, andphoneCall), remain exempt. - Developer actions: If your background service experiences memory
pressure, decode bitmaps to display sizes,
release hidden UI caches in
Activity.onStop(TRIM_MEMORY_UI_HIDDENisn't dispatched while an active foreground or system-bound service keeps your process running), and callService.stopSelfwhen background work finishes. Move large downloads toWorkManageror user-initiated data transfer jobs, and consider isolating long-lived UI-free services in a lightweight worker process. - Testing and related tools: Inspect active limits with
adb shell am memory-limiter statusandadb shell dumpsys meminfo PACKAGE_NAME, or test deterministically withadb shell am memory-limiter manual -p PID SIZE_MB. These soft limits build on App Memory Budgets (MemoryBudgetManagerandPackageManager.getMemoryBudgets),ApplicationExitInforeasons (REASON_MEMORY_LIMITER,REASON_ANOMALY, andgetAnrInfo),ProfilingManagertriggers (TRIGGER_TYPE_OOMandTRIGGER_TYPE_ANOMALY), JetpackMemorySnapshot, and in-process memory-safe software audio decoders (MediaCodecInfo.SECURITY_MODEL_MEMORY_SAFE). For more information, see Elevated process memory limits and App memory budgets.
- Covered roles: Applies to most foreground service types
(such as
- 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.gccalls, because ART's time-based collector automatically reclaims unreachable allocations at lower CPU overhead. - Don't use
Runtime.totalMemoryto predict GC timing. It reports the heap growth limit, while live allocation footprint is reflected bytotalMemory() - freeMemory()(Runtime.freeMemory) andHeap Allocindumpsys meminfo.
- Avoid manual idle
Core runtime and app compatibility
- Lock-free
MessageQueuefor all apps: The legacy monitor-locked implementation is removed soandroid.os.MessageQueueruns lock-free for every app regardless oftargetSdkVersion, alongside fast-path consumer and wakeup optimizations. Apps targeting API level 36 or lower and SDKs that use unsupported reflection to inspect privateMessageQueuefields (such asmMessages) receivenullon Android 18. Migrate custom main-thread watchdogs and frame monitors to publicLooperlogging orProfilingManager, and update UI testing libraries such as Espresso and Robolectric. - Sealed class verification in ART: ART enforces OpenJDK 17
sealedclass 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 asealedclass isn't also markedfinal, that any direct subclass or subinterface is listed in the supertype's permitted subclasses, that a sealed supertype is defined by the sameClassLoaderas its permitted subtype, and that subtypes in a different package are declaredpublic. Classes that fail these checks are rejected with aVerifyError. Recompile dependent modules together and verify tooling if your app dynamically loads DEX code, uses customClassLoaderimplementations, instruments bytecode, or generates subclasses of sealed types at runtime. - Disallowing synchronization on value-based classes: ART no longer
permits monitor synchronization (such as
synchronizedblocks) 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 asIntegerorBoolean) with instances of a non-value class such asObject. You can detect explicit synchronization attempts on a release APK by runningdex2oatin anadb shellsession and checkingadb logcat. For more information, see OpenJDK 25 APIs. - Deprecation of dynamic permission tree APIs:
PackageManager.addPermission,addPermissionAsync, andremovePermissionare deprecated and slated to become no-ops in a future release. Declare permissions statically inAndroidManifest.xmlinstead.
Media and Photo Picker
- Customizable navigation in the Embedded Photo Picker: Added APIs in
android.widget.photopickergive host apps finer control over Embedded Photo Picker sessions:- Programmatic and restricted tab navigation: Use
EmbeddedPhotoPickerFeatureInfo.Builder.setAllowedNavigationTabswithNavigationTabConstants(NAV_TAB_PHOTOS,NAV_TAB_COLLECTIONS, andNAV_TAB_SEARCH) to control accessible tabs, navigate to an allowed tab withEmbeddedPhotoPickerSession.navigateTo, and listen for completion inEmbeddedPhotoPickerClient.onNavigationCompleted. - Expanded-mode bar visibility: Control whether the navigation bar or
search bar appears in expanded mode using
setNavigationBarVisibleInExpandedModeandsetSearchBarVisibleInExpandedModeonEmbeddedPhotoPickerUiCustomizationParams.Builder. - Inline camera tile and search status callbacks: Enable an inline
camera button tile in the media grid with
setCameraButtonEnabledto handle capture flows inonCameraButtonClicked, and opt into search availability updates withsetSearchStatusEventsEnabledandonSearchStatusChanged.
- Programmatic and restricted tab navigation: Use
- On-the-fly HEIF to JPEG conversion in Photo Picker: When a user previews a HEIF or HEIC photo in Photo Picker, 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,EmbeddingVector.QuantizedDataandEmbeddingVector.getQuantizedDatalet AppSearch apps index and retrieve pre-quantized byte-level embeddings alongside theirscaleandminValueparameters, reducing memory and IPC overhead for on-device semantic search workloads. - AppSearch multi-signer
PackageIdentifier: APackageIdentifier(String, List<byte[]>)constructor andgetMultiSignerSha256Certificateslet 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 exposesOs.posix_fadviseandOsConstants(POSIX_FADV_NORMAL,POSIX_FADV_SEQUENTIAL,POSIX_FADV_RANDOM,POSIX_FADV_WILLNEED,POSIX_FADV_DONTNEED, andPOSIX_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_SENDandACTION_SEND_MULTIPLEintents (content URIs inEXTRA_STREAM) orACTION_IMAGE_CAPTUREand related capture intents (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 ondetectImplicitUriPermissionGrantinStrictMode(available since Android 17) or search Logcat forPlease set the grant explicitly in the app. AddIntent.FLAG_GRANT_READ_URI_PERMISSIONto send intents and bothFLAG_GRANT_READ_URI_PERMISSIONandFLAG_GRANT_WRITE_URI_PERMISSIONto capture intents, and handle missing grants if your app receives these intents. For more information, see 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++
libpnglibrary 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-serifdynamically 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(optionally passingIntent.EXTRA_PACKAGE_NAME) to send users to the Health Connect permission settings page. WhenEXTRA_PACKAGE_NAMEis 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".