Search code examples
androidandroid-studiovideo-recordingandroid-video-record

Unable to copy file to destination


I'm trying to record a video of the emulator. But I'm getting this error.

Unable to copy file to destination: C:\Users\Ali The Greatest.android\avd\Nexus_5X_API_29_x86.avd\tmp.webm

Are there anyone that had this error before? Or do you know how to change the default destination?


Solution

  • If you are using an AVD, make sure "Use host GPU" is disabled.

    To take a video recording of your app:

    • Start your app as described in Run your App in Debug Mode.
    • Click Android to open the Android DDMS tool window.
    • Click Screen Record on the left side of the Android DDMS tool window.
    • Click Start Recording.
    • Interact with your app.
    • Click Stop Recording.
    • Enter a file name for the recording and click OK.

    The better option will be that you use genemotion.