This guide is about how to record a video from a device. This can be done two ways:
Open Android Studio. First, go to your menu:
You will find the record icon at the bottom left corner.
If you are using an AVD emulator, make sure "Use host GPU" is disabled.
To take a video recording of your app:
See this stackoverflow post for the source.
adbexecutable on your machine.
adb shell screenrecordto start recording
cd /Users/myusername/Library/Android/sdk/platform-tools ./adb shell screenrecord /sdcard/myapp.mp4
Ctrl-Cto stop recording when done
./adb pull /sdcard/myapp.mp4 \local\path
Additional resources and options can be reviewed:
With this, you can now easily record videos directly on an Android device.
Alternatively, apps can be recorded using the official or genymotion emulators. The easiest way to record your screen on OSX is to use the Quicktime Player:
File => New Screen Recording