Android Studio Emulator device screen capture screen is not available

Using Android Studio on Windows. Trying to get a screenshot.

  • Run the application in debug mode.
  • Open the Android DDMS tool window.
  • Click Screen Capture on the left side of the Android DDMS tool window.

When the "Capture device screen" window appears, the "Save" button is disabled and the screen is not available.

+7
android android-studio emulation screen-capture
source share
3 answers

In Android Virtual Device Manager (AVD), try disabling virtual devices with Emulated Performance settings: use the host server.

+5
source share

An alternative is to use adb screenrecord

https://developer.android.com/studio/command-line/shell.html#screenrecord

$ adb shell screenrecord /sdcard/demo.mp4 (press Ctrl-C to stop) $ adb pull /sdcard/demo.mp4 $ adb shell rm /sdcard/demo.mp4 
0
source share

Using @NataliaMaciejowska's answer, I also changed the emulator settings:

enter image description here

But it did not help. I reinstalled the video player drivers, launched other emulators with a lower API level. Strange, but I also did not get a screenshot or video, while the devices showed them. Sometimes later emulators began to show screenshots. I don’t know what happened. Also don't forget to switch between emulators here:

enter image description here

You can try to take a screenshot using the emulator button:

enter image description here

0
source share

All Articles