Koleksiyonlar ile düzeninizi koruyun
İçeriği tercihlerinize göre kaydedin ve kategorilere ayırın.
Cihaz Gezgini, Android cihazlarda dosyaları görüntülemenize, kopyalamanıza ve silmenize olanak tanır. Uygulamanızın oluşturduğu dosyaları incelerken veya bir cihaza/cihazdan dosya aktarmak istediğinizde kullanışlıdır.
Bir cihazın dosya sistemiyle çalışmak için aşağıdaki adımları uygulayın:
Cihaz Gezgini'ni açmak için Görünüm > Araç Pencereleri > Cihaz Gezgini'ni seçin veya araç pencere çubuğundaki Cihaz Gezgini düğmesini tıklayın.
Yeni bir dosya veya dizin oluşturmak için bir dosyayı veya dizini sağ tıklayın.
Seçilen dosyayı veya dizini makinenize kaydedin, yükleyin, silin ya da senkronize edin.
Bir dosyayı çift tıklayarak Android Studio'da açın.
1. Şekil. Cihaz Gezgini araç penceresi.
Android Studio, Cihaz Gezgini'nde açtığınız dosyaları projenizin dışındaki geçici bir dizine kaydeder. Cihaz Gezgini kullanılarak açılan bir dosyada değişiklikler yapar ve yaptığınız değişiklikleri cihaza geri kaydetmek isterseniz dosyanın değiştirilmiş sürümünü cihaza manuel olarak yüklemeniz gerekir.
Bir cihazdaki dosyaları incelerken özellikle aşağıdaki dizinler yararlıdır:
Not: Bir donanım cihazındaki tüm dosyalar Cihaz Gezgini'nde görünmez. Örneğin, data/data/ dizininde, hata ayıklaması mümkün olmayan, cihazdaki uygulamalara karşılık gelen girişler Cihaz Gezgini'nde genişletilemez.
Bu sayfadaki içerik ve kod örnekleri, İçerik Lisansı sayfasında açıklanan lisanslara tabidir. Java ve OpenJDK, Oracle ve/veya satış ortaklarının tescilli ticari markasıdır.
Son güncelleme tarihi: 2025-07-27 UTC.
[null,null,["Son güncelleme tarihi: 2025-07-27 UTC."],[],[],null,["# View on-device files with Device Explorer\n\nThe Device Explorer lets you view, copy, and delete files on an\nAndroid device. It's useful when examining files your app creates\nor if you want to transfer files to and from a device.\n| **Note:** Most device data is not visible unless you are using a rooted device or an emulator with a standard Android (AOSP) system image, not one of the Google APIs or Google Play system images. When using a connected device, be sure to [enable USB debugging](/studio/debug/dev-options#enable).\n\nTo work with a device's file system, proceed as follows:\n\n1. To open the Device Explorer, select **View \\\u003e Tool Windows \\\u003e Device\n Explorer** or click the **Device Explorer** button in the tool window bar.\n2. Select a device from the drop-down list.\n3. Interact with the device content in the file explorer window:\n - Right-click a file or directory to create a new file or directory.\n - Save, upload, delete, or synchronize the selected file or directory to your machine.\n - Double-click a file to open it in Android Studio.\n\n\n**Figure 1.** The Device Explorer tool window.\n\nAndroid Studio saves files you open in the Device Explorer in a temporary\ndirectory outside of your project. If you make modifications to a file\nopened using the Device Explorer and want to save your changes back\nto the device, you must manually upload the modified version of the file to the\ndevice.\n\nWhen exploring a device's files, the following directories are particularly\nuseful:\n\n`data/data/`\u003cvar translate=\"no\"\u003eapp_name\u003c/var\u003e`/`\n: Contains data files for your app stored on\n [internal storage](/training/data-storage#categories-locations).\n\n`sdcard/`\n: Contains user files stored on\n [external user\n storage](/training/data-storage#categories-locations) (pictures, etc.).\n\n**Note:** Not all files on a hardware device are\nvisible in the Device Explorer. For example, in the `data/data/`\ndirectory, entries corresponding to apps on the device that are not debuggable\ncan't be expanded in the Device Explorer."]]