Device streaming in Android Studio lets you securely connect to remote physical Android devices hosted in Google’s secure data centers. It’s the fastest and easiest way to test your app against physical units of some of the latest Android devices, including the Google Pixel 8 & 8 Pro, Pixel Fold, select Samsung devices, and more.
After connecting to a device, you can deploy your app, view the display, interact with the device (including rotating or unfolding the device), and anything else you might do with a device over a direct ADB over SSL connection—all without leaving Android Studio. When you’re done using the device, Google wipes all your data and factory reset the device before making it available to another developer.
Get started in the Open Alpha
Device Streaming in Android Studio is now in Open Alpha. During this period, device streaming is available to you at no cost. To get started, follow these steps:
- If you haven’t already done so, download and install the latest version of Android Studio Jellyfish.
- Open an Android Studio project.
- Navigate to View > Tool Windows > Device Manager and click the Firebase button near the top of the window.
- If you’re not already signed in to your developer account, click Log in to Google and follow the prompts.
- After providing Android Studio with the requested permissions, return to the IDE and select a Firebase project.
- If you don’t have a Firebase project, you can create one at no cost in the Firebase Console. Keep in mind, there might be a small delay between creating a new project and having it be selectable from Android Studio.
- If you get an error that you lack the proper permissions to use device streaming with the selected project, follow the instructions below.
- After you select a project, you can browse the list of devices and select the devices you want to use by checking the box next to each device in the list.
- Click OK.
After the devices you want to use appear in the Device Manager, you can connect to a device by either clicking Start action next to a device, or by selecting a device from the deploy target drop-down in the main toolbar and deploying your app, like you normally would.
After Android Studio reserves and connects to the device you requested, the Running Devices window will appear. To extend a session, click the Extend Reservation button from the Running Devices window toolbar and select the duration you want to extend your session by.
When you’re done using a device, remember click Return and Erase Device either from overflow menu for the device in the Device Manager or from the notification that appears after closing the device tab in the Running Devices window. This ensures that you don’t spend device minutes unnecessarily, and your device is securely wiped and factory reset after before it is made available to another developer. Any unused minutes from your session are returned to your project.
How much does the service cost
During the Open Alpha, billing is disabled. This means that you and your team can use device streaming in Android Studio at no cost. However, usage is limited to a certain number of hours per day, per project.
Mobile App Development Trends – 29.02
Working with dates and Codable, Fun with shapes in Compose, The missing guide to deep linking and more!
The open source StarCoder 2 model runs on regular GPUs
Companies are making more and more artificial intelligence-based code generators at an astonishing rate – services like GitHub Copilot and...
Google TV updates the homescreen
You may notice your apps taking a different shape on your Google TV For You screen.
Decompose – Kotlin Multiplatform lifecycle-aware business logic components with routing and pluggable UI
Decompose is a Kotlin Multiplatform library for breaking down your code into tree-structured lifecycle-aware business logic components (aka BLoC), with...
Mobile App Development Trends – 28.02
How to use VariadicView, Comprehensive Guide To Kotlin Context Receiver, OWASP Mobile Top 10 and more!
GitHub opens access to Copilot Enterprise
Copilot Enterprise includes all the features of the existing Business plan, including intellectual property indemnification, but extends it with a...