Stay organized with collections
Save and categorize content based on your preferences.
Android Device Streaming lets you interact with and test your apps across
multiple API levels and form factors in Google's secure data centers within
Android Studio. With device streaming, you can interact with your app on a real
device, just like a user would, including rotating and folding the device. This
lets you see how your app behaves in different situations and to identify
any problems that might not be apparent in other testing environments.
Get started with Android Device Streaming
If you haven't done so already, download and install the latest Stable build
of Android Studio and
follow these steps:
In Android Studio, open an Android project and navigate to the Device
Manager tool window and click the Firebase icon.
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.
Note: To enable the proper permissions to use device streaming with your
Firebase project, see Test Lab permissions.
After selecting a project, you can browse the list of devices and select the
devices you want to use.
To use Device Streaming, you need to use a Firebase project that you have either
Editor or Owner permissions. If you want to provide more specific roles
and permissions to your team, you can enable Test Lab
permissions for Device Streaming.
Test Lab permissions
To configure Test Lab permissions so that you can execute and read your test
results, you have to configure access to Cloud Storage buckets. You can grant
access to Test Lab, using the Firebase console or gcloud CLI.
For a user to run tests or view test results from the Firebase console or the
Test Lab Device Matrix in Android Studio,
you will need to assign them the Editor and Viewer project roles.
For a user to run tests or view test results from the gcloud CLI while using
your own Cloud Storage bucket, you can assign a pair of predefined roles, that
will grant the required set of permissions together, using the Google Cloud
console.
To run test, assign the Firebase Test Lab Admin and Firebase Analytics
Viewer roles.
To view test results, assign the Firebase Test Lab Viewer and
Firebase Analytics Viewer roles.
For more information on how to configure these granular Test Lab permissions,
see Test Lab's IAM permissions reference guide.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-15 UTC."],[],[],null,["\u003cbr /\u003e\n\nAndroid Device Streaming lets you interact with and test your apps across\nmultiple API levels and form factors in Google's secure data centers within\nAndroid Studio. With device streaming, you can interact with your app on a real\ndevice, just like a user would, including rotating and folding the device. This\nlets you see how your app behaves in different situations and to identify\nany problems that might not be apparent in other testing environments.\n\nGet started with Android Device Streaming\n\nIf you haven't done so already, download and install the latest Stable build\nof [Android Studio](https://developer.android.com/studio/) and\nfollow these steps:\n\n1. In Android Studio, open an Android project and navigate to the **Device\n Manager** tool window and click the Firebase icon.\n2. If you're not already signed in to your developer account, click **Log in to\n Google** and follow the prompts.\n3. 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](https://console.firebase.google.com/). Note: To enable the proper permissions to use device streaming with your Firebase project, see [Test Lab permissions](#enable-testlab-permissions).\n4. After selecting a project, you can browse the list of devices and select the devices you want to use.\n5. Click **OK**.\n\nFor more information on how to get started with device streaming, see [Device Streaming in Android Studio](https://developer.android.com/studio/run/android-device-streaming).\n\nEnable permissions for Android Device Streaming\n\nTo use Device Streaming, you need to use a Firebase project that you have either\n**Editor** or **Owner** permissions. If you want to provide more specific roles\nand permissions to your team, you can enable [Test Lab\npermissions](#enable-testlab-permissions) for Device Streaming.\n\nTest Lab permissions\n\nTo configure Test Lab permissions so that you can execute and read your test\nresults, you have to configure access to Cloud Storage buckets. You can grant\naccess to Test Lab, using the Firebase console or gcloud CLI.\n\nFor a user to run tests or view test results from the Firebase console or the\n[Test Lab Device Matrix in Android Studio](https://developer.android.com/studio/test/test-in-android-studio#run-with-firebase-test-lab),\nyou will need to assign them the Editor and Viewer project roles.\n\nFor a user to run tests or view test results from the gcloud CLI while using\nyour own Cloud Storage bucket, you can assign a pair of predefined roles, that\nwill grant the required set of permissions together, using the Google Cloud\nconsole.\n\n- To run test, assign the Firebase Test Lab Admin and Firebase Analytics Viewer roles.\n- To view test results, assign the Firebase Test Lab Viewer and Firebase Analytics Viewer roles.\n\nFor more information on how to configure these granular Test Lab permissions,\nsee Test Lab's [IAM permissions reference guide](/docs/test-lab/android/iam-permissions-reference)."]]