Home > database >  Record Android Screen Problem Using Android Studio
Record Android Screen Problem Using Android Studio

Time:02-02

When I press on vertical ellipsis Screenshot 1 It show me this window, So I press on Start Recording Screenshot 2 Then it show me this error Screenshot 3 How can I solve this problem?

record the screen on my Emulator Screenshot 4

CodePudding user response:

Did you allow the permission to the camera in you'r manifest.xml

must add this

<uses-permission android:name="android.permission.CAMERA"></uses-permission>

CodePudding user response:

Maybe it's a bad solution.

But if you need a fast solution. Record the whole screen and crop it so you can only see what you really care about.

CodePudding user response:

Check out this cli tool: https://github.com/Genymobile/scrcpy It works very fast and you can record the screen directly to video file with command:

scrcpy --record=file.mp4
  • Related