How to record the Android emulator screen (adb, the emulator, and the 3-minute limit)
Three ways to film the Android emulator for a demo: adb screenrecord, the emulator's own recorder, the window. Commands, limits, and a clean status bar.
Recording an Android app for a demo looks simple until you try it. There are three ways to do it, each with its own limits, and the default settings give you a status bar full of notifications and a clip that stops at three minutes.
This guide covers the three methods, what Google's documentation says about each, and how to get a clip you would actually share.
Method 1: adb screenrecord
The oldest and most portable method. It runs on the device (or emulator) itself and writes an MP4.
adb shell screenrecord /sdcard/demo.mp4
Press Ctrl+C to stop, then pull the file to your computer:
adb pull /sdcard/demo.mp4
adb shell rm /sdcard/demo.mp4
The options that matter, from the adb documentation:
--time-limit: the maximum length, in seconds. The default and the maximum are both 180 seconds. For anything longer, record several clips.--size: the video size, such as1080x2400. By default, the device's native resolution if the encoder supports it, otherwise 1280x720.--bit-rate: the bitrate in bits per second. The default is 20 Mbps, which is plenty.
screenrecord captures the screen only, without audio. For a narrated demo, the voice is added afterwards anyway.
Method 2: the emulator's own recorder
The Android Emulator has a built-in recorder. Open the extended controls (the three dots in the emulator's toolbar), go to Record and Playback, and click Start recording. On macOS, Command+Shift+R does the same.
When you stop, the emulator offers to save the clip as WebM or as an animated GIF. Google documents it on the emulator screen recording page.
The same recorder can be started from the command line:
adb emu screenrecord start --time-limit 30 ~/Desktop/demo.webm
and the emulator console has a matching screenrecord stop. This method records what the emulator renders, so it is handy when screenrecord inside the device struggles with a heavy app.
WebM is fine on the web, but some tools prefer MP4. ffmpeg converts it:
ffmpeg -i demo.webm -c:v libx264 -pix_fmt yuv420p -movflags +faststart demo.mp4
Method 3: record the window
Any screen recorder can capture the emulator window: QuickTime on a Mac, or a dedicated tool. It is the easiest method, and the worst one for quality: you get the emulator's frame, your desktop's scaling, and sometimes your cursor. Use it only when the other two are not an option.
Make the clip worth sharing
A raw recording of an emulator looks like a raw recording of an emulator. A few settings make it look like an app.
Clean up the status bar. Android has a demo mode for the system UI that freezes the clock, fills the battery and hides notifications. Turn it on before recording:
adb shell settings put global sysui_demo_allowed 1
adb shell am broadcast -a com.android.systemui.demo -e command enter
adb shell am broadcast -a com.android.systemui.demo -e command clock -e hhmm 0941
adb shell am broadcast -a com.android.systemui.demo -e command notifications -e visible false
adb shell am broadcast -a com.android.systemui.demo -e command battery -e level 100 -e plugged false
And turn it off afterwards:
adb shell am broadcast -a com.android.systemui.demo -e command exit
Use demo data. Real accounts show real names. Seed the app with a demo account and reset it before each take, so the second take behaves like the first. More in Demo data, not production.
Rehearse before recording. Tips bubbles, permission dialogs and slow first loads ruin takes. Play the flow once without recording and dismiss everything that pops up. We explain why this step takes most of the time in Rehearse before you record.
Keep it under the limit by design. Three minutes is long for a demo. One scene per clip, each well under a minute, is easier to redo and easier to watch.
The one thing the emulator does better than the iOS Simulator
The iOS Simulator has no camera. The Android Emulator does: its back camera can show a virtual scene, a small 3D room you can move around in. For an app with a photo or video feature, that means the camera screen can actually be filmed instead of skipped.
We used exactly that for our first hand-made demo: the camera scene was filmed on the Android emulator, and the rest of the app on the iOS Simulator. If your app is iOS-only or you need the Simulator, see How to record the iOS Simulator.
From clip to demo
A screen recording is the raw material. A demo also needs a script, a voice that explains what changed, captions for muted viewers and a size that fits where you post it. If you are assembling it by hand, these guides cover each step: the script, captions, and compressing under 10 MB.
Pullscene does all of it from a pull request: it writes the script from the code, rehearses each gesture, records the app and narrates it. Today it films web apps in a real browser and Flutter apps on the iOS Simulator. Android is next, starting with Flutter apps on the emulator, camera scenes included. See Android demo videos for where it stands.
Frequently asked questions
How do I record the Android emulator screen?
Run adb shell screenrecord /sdcard/demo.mp4, stop with Ctrl+C, then adb pull /sdcard/demo.mp4. Or use the emulator's own recorder in the extended controls, under Record and Playback, which saves WebM or GIF.
Why does adb screenrecord stop after 3 minutes?
180 seconds is both the default and the maximum of the --time-limit option, according to Google's adb documentation. Record longer demos as several clips.
Does adb screenrecord record audio?
No, it records the screen only. For a narrated demo, record or generate the voice separately and combine them when editing.
Can the Android emulator film the camera?
Yes. The emulator's back camera can show a virtual scene, so camera features can be recorded. The iOS Simulator has no camera at all.
How do I hide notifications in an Android screen recording?
Turn on the system UI demo mode with adb: allow it with settings put global sysui_demo_allowed 1, then send the enter, clock, notifications and battery commands, and exit when done.