[Product News](https://developer.android.com/blog/categories/product-news)

# Updates to the Android XR SDK: Introducing Developer Preview 2

4 min read ![](https://developer.android.com/static/blog/assets/IO_25_Blog_Hero_Template_Art_Long_01_126026f6a9_ZPukDs.webp) 20 May 2025 [![View Matthew McCullough's profile](https://developer.android.com/static/blog/assets/matthew_mccullough_dc22050a18_51Njy.webp)](https://developer.android.com/blog/authors/matthew-mccullough) [Matthew McCullough](https://developer.android.com/blog/authors/matthew-mccullough) Vice President, Product Management, Android Developer Since launching the [Android XR SDK Developer Preview](https://android-developers.googleblog.com/2024/12/introducing-android-xr-sdk-developer-preview.html) alongside Samsung, Qualcomm, and Unity last year, we've been blown away by all of the excitement we've been hearing from the broader Android community. Whether it's through [coding live-streams](https://www.youtube.com/watch?v=AkKjMtBYwDA&t=116s) or local [Google Developer Group talks](https://www.youtube.com/watch?v=RsFL8wvZFK8), it's been an outstanding experience participating in the community to build the future of XR together, and we're just getting started.

Today we're excited to share an update to the [Android XR SDK](http://developer.android.com/xr): Developer Preview 2, packed with new features and improvements to help you develop helpful and delightful immersive experiences with familiar Android APIs, tools and open standards created for XR.

At Google I/O, we have two technical sessions related to Android XR. The first is [Building differentiated apps for Android XR with 3D content](https://io.google/2025/explore/technical-session-22), which covers many features present in Jetpack SceneCore and ARCore for Jetpack XR. [The future is now, with Compose and AI on Android XR](https://io.google/2025/explore/technical-session-2) covers creating XR-differentiated UI and our vision on the intersection of XR with cutting-edge AI capabilities.
![android-xr-google-io-sessions.png](https://developer.android.com/static/blog/assets/android_xr_google_io_sessions_7e3c281c38_Z1S45tr.webp)

[*Building differentiated apps for Android XR with 3D content*](https://io.google/2025/explore/technical-session-22)* and *[*The future is now, with Compose and AI on Android XR*](https://io.google/2025/explore/technical-session-2)

## What's new in Developer Preview 2

Since the release of [Developer Preview 1](https://developers.googleblog.com/en/introducing-android-xr-sdk-developer-preview/), we've been focused on making the APIs easier to use and adding new immersive Android XR features. Your feedback has helped us shape the development of the tools, SDKs, and the platform itself.

With the **Jetpack XR SDK** , you can now play back 180° and 360° videos, which can be stereoscopic by encoding with the MV-HEVC specification or by encoding view-frames adjacently. The MV-HEVC standard is optimized and designed for stereoscopic video, allowing your app to efficiently play back immersive videos at great quality. Apps built with Jetpack Compose for XR can use the [SpatialExternalSurface](https://developer.android.com/develop/xr/jetpack-xr-sdk/develop-ui#add-surface) composable to render media, including stereoscopic videos.

Using **Jetpack Compose for XR** , you can now also define layouts that adapt to different XR display configurations. For example, use a [SubspaceModifier](https://developer.android.com/reference/kotlin/androidx/xr/compose/subspace/layout/SubspaceModifier#%28androidx.xr.compose.subspace.layout.SubspaceModifier%29.fillMaxSize%28kotlin.Float%29) to specify the size of a [Subspace](https://developer.android.com/develop/xr/jetpack-xr-sdk/add-subspace) as a percentage of the device's recommended viewing size, so a panel effortlessly fills the space it's positioned in.

**Material Design for XR** now supports more component overrides for [TopAppBar](https://developer.android.com/develop/ui/compose/components/app-bars), [AlertDialog](https://developer.android.com/develop/ui/compose/components/dialog#alert), and [ListDetailPaneScaffold](https://developer.android.com/develop/ui/compose/layouts/adaptive/list-detail), helping your large-screen enabled apps that use Material Design effortlessly adapt to the new world of XR.
![app-adapts-android-xr-material-design-google-io.png](https://developer.android.com/static/blog/assets/app_adapts_android_xr_material_design_google_io_2e56168f39_2iYRH8.webp)

*An app adapts to XR using Material Design for XR with the new component overrides*  

In **ARCore for Jetpack XR**, you can now track hands after requesting the appropriate permissions. Hands are a collection of 26 posed hand joints that can be used to detect hand gestures and bring a whole new level of interaction to your Android XR apps:
![arcore-jetpack-android-xr-google-io.webp](https://developer.android.com/static/blog/assets/arcore_jetpack_android_xr_google_io_c3c367c28b_Z2rBqyn.webp)

*Hands bring a natural input method to your Android XR experience.*  

For more guidance on developing apps for Android XR, check out our [Android XR Fundamentals codelab](https://developer.android.com/codelabs/xr-fundamentals-part-1), the updates to our [Hello Android XR sample project](http://goo.gle/haxr), and [a new version of JetStream](http://goo.gle/adaptive-jetstream) with Android XR support.

The **Android XR Emulator** has also received updates to stability, support for AMD GPUs, and is now fully integrated within the Android Studio UI.
![android-xr-emulator-in-android-studio-google-io.png](https://developer.android.com/static/blog/assets/android_xr_emulator_in_android_studio_google_io_bd814b209a_Pxh9o.webp)

*The Android XR Emulator is now integrated in Android Studio*  

Developers using Unity have [already successfully created and ported existing games and apps to Android XR](https://unity.com/blog/porting-apps-games-over-android-xr-unity-6). Today, you can upgrade to the [Pre-Release version 2](https://discussions.unity.com/t/android-xr-pre-release-now-available/1634938) of the Unity OpenXR: Android XR package! This update adds many performance improvements such as support for [Dynamic Refresh Rate](https://docs.unity3d.com/Packages/com.unity.xr.androidxr-openxr@1.0/manual/features/display-utilities.html), which optimizes your app's performance and power consumption. Shaders made with [Shader Graph](https://unity.com/features/shader-graph) now support [SpaceWarp](https://docs.unity3d.com/6000.1/Documentation/Manual/xr-graphics-spacewarp.html), making it easier to use SpaceWarp to reduce compute load on the device. Hand meshes are now exposed with occlusion, which enables realistic hand visualization.

Check out Unity's [improved Mixed Reality template](https://docs.unity3d.com/Packages/com.unity.template.mixed-reality@2.1/manual/index.html) for Android XR, which now includes support for occlusion and persistent anchors.

We recently launched [Android XR Samples for Unity](https://github.com/android/xr-unity-samples), which demonstrate capabilities on the Android XR platform such as hand tracking, plane tracking, face tracking, and passthrough.
![unity-demo-android-xr-google-io.gif](https://developer.android.com/static/blog/assets/unity_demo_android_xr_google_io_2acbd24627_Zf2yn9.webp)

*Google's open-source Unity samples demonstrate platform features and show how they're implemented*  

The Firebase AI Logic for Unity is now in public preview! This makes it easy for you to integrate gen AI into your apps, enabling the creation of AI-powered experiences with Gemini and Android XR. The Firebase AI Logic fully supports Gemini's capabilities, including multimodal input and output, and bi-directional streaming for immersive conversational interfaces. Built with production readiness in mind, Firebase AI Logic is integrated with core Firebase services like App Check, Remote Config, and Cloud Storage for enhanced security, configurability, and data management. Learn more about this on [the Firebase blog](https://firebase.blog/posts/2025/05/ai-logic-unity-androidxr) or go straight to the [Gemini API using Vertex AI in Firebase SDK documentation](https://firebase.google.com/docs/vertex-ai/get-started) to get started.

## Continuing to build the future together

Our commitment to open standards continues with the [glTF Interactivity specification](https://www.khronos.org/blog/gltf-interactivity-specification-released-for-public-comment), in collaboration with the Khronos Group. which will be supported in glTF models rendered by Jetpack XR later this year. Models using the glTF Interactivity specification are self-contained interactive assets that can have many pre-programmed behaviors, like rotating objects on a button press or changing the color of a material over time.

Android XR will be available first on Samsung's Project Moohan, launching later this year. Soon after, our partners at XREAL will release the next Android XR device. Codenamed Project Aura, it's a portable and tethered device that gives users access to their favorite Android apps, including those that have been built for XR. It will launch as a developer edition, specifically for you to begin creating and experimenting. The best news? With the familiar tools you use to build Android apps today, you can build for these devices too.
![android-xr-google-io-meta.png](https://developer.android.com/static/blog/assets/android_xr_google_io_meta_abace339cf_Z1CdvDL.webp)

*XREAL's Project Aura*  

The Google Play Store is also getting ready for Android XR. It will list [supported 2D Android apps](https://developer.android.com/develop/xr/get-started#app_manifest_compatibility_considerations_for_mobile_and_large_screen_apps) on the Android XR Play Store when it launches later this year. If you are working on an [Android XR differentiated app](https://developer.android.com/docs/quality-guidelines/android-xr#android-xr-differentiated), you can get it ready for the big launch and be one of the first differentiated apps on the Android XR Play Store:

- Install and test your existing app in the [Android XR Emulator](https://developer.android.com/develop/xr/jetpack-xr-sdk/studio-tools)
- Learn how to [package and distribute apps for Android XR](https://developer.android.com/develop/xr/package-and-distribute)
- New! [Make your XR app stand out](https://support.google.com/googleplay/android-developer/answer/9866151?ref_topic=3450987&sjid=1442238423744171917-NA) from others on Play Store with preview assets such as stereoscopic 180° or 360° videos, as well as screenshots, app description, and non-spatial video.

And we know many of you are excited for the future of Android XR on [glasses](https://blog.google/products/android/android-xr-gemini-glasses-headsets/). We are shaping the developer experience now and will share more details on how you can participate later this year.

To get started creating and developing for Android XR, check out [developer.android.com/develop/xr](https://developer.android.com/develop/xr) where you will find all of the tools, libraries, and resources you need to work with the Android XR SDK. In particular, try out our [samples](https://developer.android.com/develop/xr/samples) and [codelabs](https://developer.android.com/codelabs/xr-fundamentals-part-1#0).

We welcome your [feedback, suggestions, and ideas](https://developer.android.com/develop/xr/support) as you're helping shape Android XR. Your passion, expertise, and bold ideas are vital as we continue to develop Android XR together. We look forward to seeing your XR-differentiated apps when Android XR devices launch later this year!

Explore this announcement and all Google I/O 2025 updates on [io.google](https://io.google/2025/?utm_source=blogpost&utm_medium=pr&utm_campaign=event&utm_content) starting May 22.
- [#Android](https://developer.android.com/blog/topics/android)
Written by:

-

  ## [Matthew McCullough](https://developer.android.com/blog/authors/matthew-mccullough)

  ###### Vice President, Product Management, Android Developer

  [read_more
  View profile](https://developer.android.com/blog/authors/matthew-mccullough) ![View Matthew McCullough's profile](https://developer.android.com/static/blog/assets/matthew_mccullough_dc22050a18_51Njy.webp) ![View Matthew McCullough's profile](https://developer.android.com/static/blog/assets/matthew_mccullough_dc22050a18_51Njy.webp)
Continue reading
- [![View Matthew McCullough's profile](https://developer.android.com/static/blog/assets/matthew_mccullough_dc22050a18_51Njy.webp)](https://developer.android.com/blog/authors/matthew-mccullough) 28 Oct 2026 28 Oct 2026 ![](https://developer.android.com/static/blog/assets/Mesa_de_trabajo_1_copy_8_3f8cf8a935_Z1799P4.webp) [Product News](https://developer.android.com/blog/categories/product-news)

  ## [Agentic and Flexible: A next era of Android development](https://developer.android.com/blog/posts/build-it-your-way-a-next-era-of-android-development)

  [arrow_forward](https://developer.android.com/blog/posts/build-it-your-way-a-next-era-of-android-development) Today, at the Android Dev Summit, we are announcing the broad availability of many tools and APIs designed to remove everyday friction and give you more flexibility to build great Android apps.
  [Matthew McCullough](https://developer.android.com/blog/authors/matthew-mccullough) • 4 min read
  - [#Android](https://developer.android.com/blog/topics/android)
- [![View Matthew McCullough's profile](https://developer.android.com/static/blog/assets/matthew_mccullough_dc22050a18_51Njy.webp)](https://developer.android.com/blog/authors/matthew-mccullough) 12 May 2026 12 May 2026 ![](https://developer.android.com/static/blog/assets/Tas_Developers_cut_Strapi_3636223c9c_DKPLL.webp) [Product News](https://developer.android.com/blog/categories/product-news)

  ## [Building for the Intelligence System on Android](https://developer.android.com/blog/posts/building-for-the-intelligence-system-on-android)

  [arrow_forward](https://developer.android.com/blog/posts/building-for-the-intelligence-system-on-android) Announced today during The Android Show, Android is transitioning from an operating system to an intelligence system, creating more opportunities for engagement with your apps.
  [Matthew McCullough](https://developer.android.com/blog/authors/matthew-mccullough) • 4 min read
  - [#Android](https://developer.android.com/blog/topics/android)
- [![View Roxanna Aliabadi Walker's profile](https://developer.android.com/static/blog/assets/roxana_02dc1d3afc_1Q1ceg.webp)](https://developer.android.com/blog/authors/roxanna-walker) 21 Oct 2026 21 Oct 2026 ![](https://developer.android.com/static/blog/assets/1009_ABL_142_A_more_reliable_way_to_add_and_edit_contacts_on_Android_Strapi_b510ec4fc0_ZXfljU.webp) [Product News](https://developer.android.com/blog/categories/product-news)

  ## [A more reliable way to add and edit contacts on Android](https://developer.android.com/blog/posts/reliable-way-to-add-and-edit-contacts-android)

  [arrow_forward](https://developer.android.com/blog/posts/reliable-way-to-add-and-edit-contacts-android) Apps that target the upcoming Android release will no longer be able to directly write to contacts with the WRITE_CONTACTS permission.
  [Roxanna Aliabadi Walker](https://developer.android.com/blog/authors/roxanna-walker) • 6 min read
  - [#Android](https://developer.android.com/blog/topics/android)
Stay in the loop


Get the latest Android development insights delivered to your inbox
weekly.
[mail
Subscribe](https://developer.android.com/subscribe) ![A 3D illustration of the Android mascot, wearing a jetpack that's emitting a large cloud of bubbles](https://developer.android.com/static/blog/assets/rocket-android.CVJQZOf1_1zVtXW.webp)