截取屏幕截图
使用集合让一切井井有条
根据您的偏好保存内容并对其进行分类。
如需对 Android 模拟器截取屏幕截图,请点击 Take screenshot 按钮
。
在随即显示的 Take Screenshot 对话框中,您可以重新截取、修改或复制截取的图像。对图片满意后,点击 Save。模拟器会创建一个以截图时的年、月、日、时、分、秒命名(即,名为 Screenshot_yyyymmdd-hhmmss.png
)的 PNG 文件。您可以根据需要更改名称,并选择文件的保存位置。
如需截取 Wear OS 模拟器的 Play 兼容屏幕截图,请将下拉菜单设置为 Play 商店兼容。
您也可以在命令行上使用以下任一命令截取屏幕截图:
screenrecord screenshot [destination-directory]
adb emu screenrecord screenshot [destination-directory]
本页面上的内容和代码示例受内容许可部分所述许可的限制。Java 和 OpenJDK 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2025-07-27。
[null,null,["最后更新时间 (UTC):2025-07-27。"],[],[],null,["# Take screenshots\n\nTo take a screenshot of the Android Emulator, click the **Take screenshot**\nbutton.\n\nIn the **Take Screenshot** dialog that appears, you can recapture, edit, or copy\nthe captured image. Once you're satisfied with the image, click **Save** . The\nemulator creates a PNG file with the name\n`Screenshot_`\u003cvar translate=\"no\"\u003eyyyymmdd-hhmmss\u003c/var\u003e`.png`, using the year, month,\nday, hour, minute, and second of the capture. You can change the name, if you\nprefer, and choose where to save the file.\n\nTo take a\n[Play-compatible screenshot of a Wear OS emulator](/docs/quality-guidelines/wear-app-quality#google-play-screenshots-apps),\nset the drop-down to **Play Store Compatible**.\n\nYou can also take screenshots from the command line with either of the following\ncommands:\n\n- `screenrecord screenshot `\u003cvar translate=\"no\"\u003e[destination-directory]\u003c/var\u003e\n- `adb emu screenrecord screenshot `\u003cvar translate=\"no\"\u003e[destination-directory]\u003c/var\u003e"]]