采取截图上模拟器从Android的工作室 [英] Taking screenshot on Emulator from Android Studio

查看:257
本文介绍了采取截图上模拟器从Android的工作室的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我知道这也许可能是最愚蠢的问题,但我仍然不知道如何利用模拟器截图通过Android的工作室。笔者近日从Eclipse中切换到Android Studio和我找不到任何地方,我尝试在网页太多,但没有帮助搜索。

I know this probably might be the silliest question but still, I don't know how to take a screenshot of Emulator via Android Studio. I recently switched from Eclipse to Android Studio and I could not find it anywhere, I tried to search on web too but no help.

推荐答案

点击监视器(DDMS包括)工具栏上的按钮 - 它看起来像Android的bugdroid:

Click on the Monitor (DDMS Included) button on the toolbar -- it looks like the Android bugdroid:

这将弹出窗口DDMS。从手机在左边的标签仿真器实例,其上方的工具栏中点击拍照键,旁边的停车标志图标:

That will bring up the DDMS window. Select the emulator instance from the Devices tab on the left, and click on the camera button in the toolbar above it, next to the stop sign icon:

请注意,如果你的模拟器运行的是Android 4.4,我认为4.3,那么屏幕捕捉功能被打破 - 你将不得不使用一个物理设备来获得这些操作系统版本的截图。它的工作原理好为Android之前4.3。这bug是<一个href=\"https://$c$c.google.com/p/android/issues/detail?id=62284\">https://$c$c.google.com/p/android/issues/detail?id=62284

Note that if your emulator is running Android 4.4 or I think 4.3, then screen capture functionality is broken -- you'll have to use a physical device to get screenshots on those OS versions. It works okay for Android prior to 4.3. That bug is https://code.google.com/p/android/issues/detail?id=62284

这篇关于采取截图上模拟器从Android的工作室的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆