[null,null,["最后更新时间 (UTC):2025-07-27。"],[],[],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."]]