7

Using Android Studio in Windows. Trying to get the screenshot.

  1. Run my App in Debug Mode.
  2. Open the Android DDMS tool window.
  3. Click Screen Capture on the left side of the Android DDMS tool window.

When the Device Screen Capture window appears, "save" button is disabled and shows Screen not available.

Shuvo Joseph
  • 894
  • 1
  • 12
  • 21
  • You can try `Snipping Tool` on Windows. Press the start button and type `Snipping Tool` – Sazid Feb 01 '15 at 08:19

3 Answers3

5

In the Android Virtual Device Manager (AVD) try unchecking the virtual devices Emulated Performance settings: use host GPU.

1

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
keith
  • 3,105
  • 2
  • 29
  • 34
1

Using @NataliaMaciejowska answer, I also changed emulator settings:

enter image description here

But it didn't help. I reinstalled video player drivers, started other emulators with lower API level. Strange, but I also didn't receive a screenshot or video, while devices showed them. Sometimes later emulators started to show screenshots. 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 with emulator's button:

enter image description here

CoolMind
  • 26,736
  • 15
  • 188
  • 224