Koleksiyonlar ile düzeninizi koruyun
İçeriği tercihlerinize göre kaydedin ve kategorilere ayırın.
Android Device Streaming, Android Studio'da Google'ın güvenli veri merkezlerindeki birden fazla API düzeyi ve form faktöründe uygulamalarınızla etkileşim kurmanıza ve uygulamalarınızı test etmenize olanak tanır. Cihaz akışı sayesinde, uygulamanızla gerçek bir cihazda etkileşimde bulunabilirsiniz. Hatta cihazı döndürebilir ve katlayabilirsiniz. Bu sayede uygulamanızın farklı durumlarda nasıl davrandığını görebilir ve diğer test ortamlarında görünmeyebilecek sorunları belirleyebilirsiniz.
Android Cihaz Yayınını kullanmaya başlama
Henüz yapmadıysanız Android Studio'nun en son kararlı sürümünü indirip yükleyin ve şu adımları uygulayın:
Android Studio'da bir Android projesi açın, Device
Manager (Cihaz Yöneticisi) araç penceresine gidin ve Firebase simgesini tıklayın.
Geliştirici hesabınızda henüz oturum açmadıysanız Google'da oturum aç'ı tıklayın ve istemleri uygulayın.
Android Studio'ya istenen izinleri verdikten sonra IDE'ye dönüp bir Firebase projesi seçin. Firebase projeniz yoksa Firebase konsolunda ücretsiz olarak oluşturabilirsiniz.
Not: Cihaz akışını Firebase projenizle kullanmak için gerekli izinleri etkinleştirmek üzere Test Lab izinleri başlıklı makaleyi inceleyin.
Bir proje seçtikten sonra cihaz listesine göz atabilir ve kullanmak istediğiniz cihazları seçebilirsiniz.
Tamam'ı tıklayın.
Cihaz akışını kullanmaya başlama hakkında daha fazla bilgi için Android Studio'da Cihaz Akışı başlıklı makaleyi inceleyin.
Android cihazda yayın için izinleri etkinleştirme
Cihaz Akışı'nı kullanmak için Düzenleyici veya Sahip izinlerine sahip olduğunuz bir Firebase projesi kullanmanız gerekir. Ekibinize daha spesifik roller ve izinler vermek istiyorsanız Cihaz Akışı için Test Lab izinlerini etkinleştirebilirsiniz.
Test Lab izinleri
Test Lab izinlerini, test sonuçlarınızı çalıştırıp okuyabileceğiniz şekilde yapılandırmak için Cloud Storage paketlerine erişimi yapılandırmanız gerekir. Firebase konsolunu veya gcloud KSA'yı kullanarak Test Lab'e erişim izni verebilirsiniz.
Bir kullanıcının Firebase konsolundan veya Android Studio'daki Test Lab Cihaz Matrisi'nden test çalıştırması ya da test sonuçlarını görüntülemesi için kullanıcıya Düzenleyici ve Görüntüleyici proje rollerini atamanız gerekir.
Bir kullanıcının kendi Cloud Storage paketini kullanırken gcloud CLI'dan test çalıştırması veya test sonuçlarını görüntülemesi için Google Cloud Console'u kullanarak gerekli izinleri birlikte verecek bir çift önceden tanımlanmış rol atayabilirsiniz.
Testi çalıştırmak için Firebase Test Lab Yöneticisi ve Firebase Analytics Görüntüleyici rollerini atayın.
Test sonuçlarını görüntülemek için Firebase Test Lab Görüntüleyici ve Firebase Analytics Görüntüleyici rollerini atayın.
Bu ayrıntılı Test Lab izinlerini yapılandırma hakkında daha fazla bilgi için Test Lab'in IAM izinleri referans kılavuzuna bakın.
[[["Anlaması kolay","easyToUnderstand","thumb-up"],["Sorunumu çözdü","solvedMyProblem","thumb-up"],["Diğer","otherUp","thumb-up"]],[["İhtiyacım olan bilgiler yok","missingTheInformationINeed","thumb-down"],["Çok karmaşık / çok fazla adım var","tooComplicatedTooManySteps","thumb-down"],["Güncel değil","outOfDate","thumb-down"],["Çeviri sorunu","translationIssue","thumb-down"],["Örnek veya kod sorunu","samplesCodeIssue","thumb-down"],["Diğer","otherDown","thumb-down"]],["Son güncelleme tarihi: 2025-09-06 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)."]]