Posted by Matthew McCullough – VP of Product Management, Android Developer
Today, we’re launching the developer preview of the Android XR SDK – a comprehensive development kit for Android XR. It’s the newest platform in the Android family built for extended reality (XR) headsets (and glasses in the future!). You’ll have endless opportunities to create and develop experiences that blend digital and physical worlds, using familiar Android APIs, tools and open standards created for XR. All of this means: if you build for Android, you’re already building for XR! Read on to get started with development for headsets.
With the Android XR SDK you can:
- Break free of traditional screens by spatializing your app with rich 3D elements, spatial panels, and spatial audio that bring a natural sense of depth, scale, and tangible realism
- Transport your users to a fantastical virtual space, or engage with them in their own homes or workplaces
- Take advantage of natural, multimodal interaction capabilities such as hands and eyes
“We believe Android XR is a game-changer for storytelling. It allows us to merge narrative depth with advanced interactive features, creating an immersive world where audiences can engage with characters and stories like never before.”
Your apps on Android XR
The Android XR SDK is built on the existing foundations of Android app development. We’re also bringing the Play Store to Android XR, where most Android apps will automatically be made available without any additional development effort. Users will be able to discover and use your existing apps in a whole new dimension. To differentiate your existing Compose app, you may opt-in, to automatically spatialize Material Design (M3) components and Compose for adaptive layouts in XR.
The Android XR SDK has something for every developer:
Building with Kotlin and Android Studio? You’ll feel right at home with the Jetpack XR SDK, a suite of familiar libraries and tools to simplify development and accelerate productivity.
- Using Unity’s real-time 3D engine? The Android XR Extensions for Unity provides the packages you need to build or port powerful, immersive experiences.
- Developing on the web? Use WebXR to add immersive experiences supported on Chrome.
- Working with native languages like C/C++? Android XR supports the OpenXR 1.1 standard.
Creating with Jetpack XR SDK
The Jetpack XR SDK includes new Jetpack libraries purpose-built for XR. The highlights include:
- Jetpack Compose for XR – enables you to declaratively create spatial UI layouts and spatialize your existing 2D UI built with Compose or Views
- ARCore for Jetpack XR – brings powerful perception capabilities for your app to understand the real world
“With Android XR, we can bring Calm directly into your world, capturing the senses and allowing you to experience it in a deeper and more transformative way. By collaborating closely with the Android XR team on this cutting-edge technology, we’ve reimagined how to create a sense of depth and space, resulting in a level of immersion that instantly helps you feel more present, focused, and relaxed.”
Kickstart your Jetpack XR SDK journey with the Hello XR Sample, a straightforward introduction to the essential features of Jetpack Compose for XR.
Learn more about developing with the Jetpack XR SDK.
We’re also introducing new tools and capabilities to the latest preview of Android Studio Meerkat to boost productivity and simplify your creation process for Android XR.
- Use the new Android XR Emulator to create a virtualized XR device for deploying and testing apps built with the Jetpack XR SDK. The emulator includes XR-specific controls for using a keyboard and mouse to navigate an emulated virtual space.
- Use the Android XR template to get a jump-start on creating an app with Jetpack Compose for XR.
- Use the updated Layout Inspector to inspect and debug spatialized UI components created with Jetpack Compose for XR.
Learn more about the XR enabled tools in Android Studio and the Android XR Emulator.
Creating with Unity
We’ve partnered with Unity to natively integrate their real-time 3D engine with Android XR starting with Unity 6. Unity is introducing the Unity OpenXR: Android XR package for bringing your multi-platform XR experiences to Android XR.
Unity is adding Android XR support to these popular XR packages:
We’re also rolling out the Android XR Extensions for Unity with samples and innovative features such as mouse interaction profile, environment blend mode, personalized hand mesh, object tracking, and more.
“Having already brought Demeo to most commercially available platforms, it’s safe to say we were impressed with the process of adapting the game to run on Android XR.”
Check out our getting started guide for unity and Unity’s blog post to learn more.
Creating for the Web
Chrome on Android XR supports the WebXR standard. If you’re building for the web, you can enhance existing sites with 3D content or build new immersive experiences. You can also use full-featured frameworks like A-Frame or PlayCanvas to create virtual worlds, or you can use a simpler API like model-viewer so your users can visualize products in an e-commerce site. And because WebXR is an open standard, the same experiences you build for mobile AR devices or dedicated VR hardware seamlessly work on Android XR.
Learn more about developing with WebXR.
Built on Open Standards
We’re continuing the Android tradition of building with open standards. At the heart of the Android perception stack is OpenXR – a high-performance, cross-platform API focused on portability. Android XR is compliant with OpenXR 1.1, and we’re also expanding the Open XR standards with leading-edge vendor extensions to introduce powerful world-sensing capabilities such as:
- AI-powered hand mesh, designed to adapt to the shape and size of hands to better represent the diversity of your users
- Sophisticated light estimation, for lighting your digital content to match real-world lighting conditions
- New trackables that let you bring real world objects like laptops, phones, keyboards, and mice into a virtual environment
The Android XR SDK also supports open standard formats such as glTF 2.0 for 3D models and OpenEXR for high-dynamic-range environments.
Building the future together
We couldn’t be more proud or excited to be announcing the Developer Preview of the Android XR SDK. We’re releasing this developer preview, because we want to build the future of XR together with you. We welcome your feedback and can’t wait to work with you and build your ideas and suggestions into the platform. Your passion, expertise, and bold ideas are absolutely essential as we continue to build Android XR.
We look forward to interacting with your apps, reimagined to take advantage of the unique spatial capabilities of Android XR, using familiar tools like Android Studio and Jetpack Compose. We’re eager to visit the amazing 3D worlds you build using powerful tools and open standards like Unity and OpenXR. Most of all, we can’t wait to go on this journey with all of you that make up the amazing community of Android and Unity developers.
To get started creating and developing for Android XR, check out developer.android.com/develop/xr where you will find all of the tools, libraries and resources you need to create with the Android XR SDK! If you are interested in getting access to prerelease hardware and collaborating with the Android XR team, express your interest to participate in an Android XR Developer Bootcamp in 2025 by filling out this form.
You Might Also Like
12 Best Places To Sell Sports Cards
Looking for the best places to sell sports cards? Do you have a box of sports cards from your childhood...
The Second Developer Preview of Android 16
Posted by Matthew McCullough – VP of Product Management, Android Developer The second developer preview of Android 16 is now...
13 Best Jobs for 11 Year Olds To Make Money
Are you wondering what the best jobs for 11-year-olds are? Many kids want to earn money, but finding jobs can...
Celebrating Another Year of #WeArePlay
Posted by Robbie McLachlan – Developer Marketing This year #WeArePlay took us on a journey across the globe, spotlighting 300...