Taking screenshot on Emulator from 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.
Solution 1:
Starting with Android Studio 2.0 you can do it with the new emulator:
Just click 3 "Take Screenshot". Standard location is the desktop.
Or
- Select "More"
- Under "Settings", specify the location for your screenshot
- Take your screenshot
UPDATE 22/07/2020
If you use the emulator inside Android Studio which is possible since Android Studio 4.1 click here to save the screenshot in your standard location:
Solution 2:
Click on the Monitor (DDMS Included) button on the toolbar -- it looks like the Android bugdroid:
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:
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
Solution 3:
You can capture a screenshot from Android Studio as shown in the image below.
Solution 4:
To take a screenshot of your app:
- Start your app as described in Run your App in Debug Mode.
- Click Android to open the Android DDMS tool window.
- Click Screen Capture on the left side of the Android DDMS tool window.
- Optional: To add a device frame around your screenshot, enable the Frame screenshot option.
- Click Save.