button - How to record android screen with Android Studio?




disabled webm (4)

I've installed Android Studio in the Applications folder on my Mac (I think the sdk is then in the package content), but now I want to record my screen for a demonstration video of an app with AShot.jar, and I have to give up the path to the SDK. When I give the path I think is right, it says the path Applications/Android\ Studio.app/sdk is not valid.

What to do? Are there other ways to record your android screen?


Answers

If you are using Android 4.4 or higher you can use adb:

http://developer.android.com/tools/help/adb.html#screenrecord

It can be found in the platform-tools folder under your sdk install folder.


This point may be helpful for some one else All device do not support screen video recording with android studio. In this regard you can use emulator.


  1. Connect your Device with your pc via usb.

  2. Open android studio.Ensure that device is connected with adb.

  3. Start click Screen Recording.

  4. Screen Record can record the device display for a maximum of 3 minutes.

Note:

The Screen Record Works with Real Android Device and some Emulators.

If the button is in grey and un-clickable means that device not supports video capture.

The Screenshots from my system:


It's very very easy in Gnu/Linux - Mac - Windows

First: - copy this command

keytool -list -v -keystore ~/.android/debug.keystore -alias androiddebugkey -storepass android -keypass android 

Second: Now copy and paste the command in the terminal the Android Studio

Result!

Good Luck!!





android