Android Device Streaming, powered by Firebase

Android Device Streaming, powered by Firebase, 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 and 8 Pro, Pixel Fold, select Samsung devices, and more.

Animation of using Device Streaming in Android Studio.

Android Device Streaming is now in open alpha. During this period, device streaming is available to you at no cost with Firebase projects on either a Spark or Blaze plan.

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

To get started with the open alpha, follow these steps:

  1. If you haven't already done so, download and install the latest version of Android Studio Jellyfish.
  2. Open an Android Studio project.
  3. Navigate to View > Tool Windows > Device Manager and click the Firebase Dialog in Android Studio that helps you configure device streaming. button near the top of the window.
  4. If you're not already signed in to your developer account, click Log in to Google and follow the prompts.
  5. After providing Android Studio with the requested permissions, return to the IDE and select a Firebase project.
    1. 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.
    2. If you get an error that you lack the proper permissions to use device streaming with the selected project, follow the instructions below.
  6. 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.

  7. 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.

Enable permissions

To use device streaming, you need to use a Firebase project for which you have either Editor or Owner permissions.

If you don't have these permissions for your existing Firebase projects, you can either create a new one as an Owner at no cost in the Firebase Console, or ask someone on your team who does to follow these steps:

  1. Navigate to the IAM section of the Google Cloud Console.
  2. Click View by principles > Grant access.
  3. Add the user IDs for each user you want to be able to access device streaming.
  4. Using the Select a role drop-down, select the Firebase Test Lab Direct Access Admin role.
  5. Click Add another role and select Service Usage Consumer from the Select a role drop-down.
  6. Save the changes by clicking Save

Frequently asked questions

What makes Android Device Streaming, powered by Firebase, different?

Devices, security, and functionality. Android Device Streaming is where you can expect to have access to some of the latest Android devices as easily and quickly as possible. Additionally, the service supports a select number of older devices, so that you have access to a wide range of configurations and API levels. And because these devices are housed in Google's secure data center, your sessions are secure and your devices are guaranteed to be factory reset and wiped before they are made available to another user.

Finally, the service is integrated directly with Android Studio and access over a ADB over SSL connection, so the tools you use everyday over ADB work seamlessly with device streaming.

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.

Is my session secure and what happens when my session ends?

Each device is located in Google's secure data centers and connects to your workstation using an ADB over SSL connection. When your session ends, device data is guaranteed to be fully wiped and factory reset before the device is made available to another developer.

Do I need to use Android Studio?

While Android Studio Jellyfish or later is required to connect to the service and request a device, the direct ADB over SSL connection lets you use any tools or IDEs that use ADB to communicate with test devices after you reserve and connect to a device.