18

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.

asked Jul 2, 2019 at 13:36
1
  • 2
    what if you want to record screen ?. Commented Aug 18, 2020 at 18:12

7 Answers 7

49

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

answered Jul 2, 2019 at 13:38
Sign up to request clarification or add additional context in comments.

3 Comments

it saves at root of project i have verified
It's working, but the ugly debug banner is on the screenshot. Has anyone an idea how I can remove this?
Here's how to remove the debug banner: stackoverflow.com/a/48893964/679553
3

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

Joel Broström
4,2004 gold badges44 silver badges74 bronze badges
answered Jul 2, 2019 at 14:26

2 Comments

cmd + s saves the project and hot reloads the code. Unless you're referring to the emulator. Maybe it works there? Anyway I need it to work with USB-debugging.
yes, I'm referring to the emulator when is the active window
3

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.

answered Feb 5, 2020 at 19:07

1 Comment

How can I take it from big screens ?
0

use adb command

adb shell screencap -p location

location is where screenshot may save in your device

MofX
1,56712 silver badges22 bronze badges
answered Aug 7, 2019 at 11:08

Comments

0

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.

answered Dec 4, 2021 at 18:28

3 Comments

The problem with screenshots are that they either contain the whole emulator screen with controls and the corners outside of the device, or if you select by dragging they become different sizes each time. Both makes it hard to use it for Store or promotion related tasks.
If you don't want to have the edges of the device in your screenshot, then you can also disable Device Frame option in Emulator options, and then take a screenshot.
Sure, but it would also be different resolutions depending on which screen you are using and what size the emulator is resized to. Using flutter screenshot you get an image that's always the resolution of the device, always cuts the corners equally, never get background artifacts if you happen to select outside of the screen, requires no post processing, will look the same for all developers and all platforms and is able to be automated in scripts. I think the accepted answer is better in all ways I can think of.
0

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.

answered Dec 23, 2021 at 13:59

3 Comments

Yes. However since the last update (or the one before it) all video are recorded in .webM format. Do you know how to change it back to mp4?
Now, I don't. I never actually used it, or I can't recall, so I probably never realized it, just that it's there... Now that I googled for it, there's already a bug report and issue about this.
Okay.Thanks for taking the time to look it up.
0

You can use Snipping tool from windows in order to take screenshot just type Snipping Tool In search Box Of Windows HelpFull Image

answered Jan 24, 2023 at 12:04

1 Comment

Your answer presupposes the use of an emulator. That is unlikely to be the case for most developers.

Your Answer

Draft saved
Draft discarded

Sign up or log in

Sign up using Google
Sign up using Email and Password

Post as a guest

Required, but never shown

Post as a guest

Required, but never shown

By clicking "Post Your Answer", you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.