How to take screen shots of mobile debug device running Flutter application in Android Studio?

Viewed 6406

Using Android Studio for developing flutter replaces the LogCat console with the run tab.

This works great, but how do I take a screen shot of my debugging device? Previously I used to expand the LogCat side menu and click on the capture image button, but now I can't find it anywhere.

6 Answers

flutter screenshot cli command saves a png screenshot. I could not find how to do it in IntelliJ interface, either.

For Windows, while running the command flutter run, you can always press s from your keyboard to take a screenshot. Note that the screenshots are saved on the root of your project folder.

If using the emulator on mac, cmd + s should take a screenshot.

use adb command

adb shell screencap -p location

location is where screenshot may save in your device

If you want to take a screenshot on your app running on your emulator, then you can just select window of that emulator and press the respective keyboard combinations for screenshot. For example, on Windows, its Windows Key + Alt + prt scrn. You might wanna check for Mac, if you are using one. On Android Studio, beside your emulator, you will see a vertical panel, which will contain icons of power, camera, home, back, and etc. there click on the camera button to take a screenshot and it saves it to your corresponding folder.

Just for the record, it might have been missing for some time in 2019, but it's there in Android Studio all right. Logcat window, left button bar (look for the overflow button if your window is sized small enough not to fit everything). You have both Screen capture and Screen record buttons all right.

Related