I have tried recording in Android Studio with different emulated devices and programs, but all my records flicker heavily.
The screen of the emulator itself doesn't flicker.
I have tried using Nexus 5X, Nexus 7 and Pixel 2 on 25 and 28 API level.
I'm running the emulator on Windows 10 with Intel Core i7-4720HQ, 16GB memory and NVIDIA GeForce GTX 970M.
I have set the mode to Maximum Performance in NVIDIA Control Panel.
When I record the same programs with real phone, everything works fine.
The version of Android Studio is up-to-date.
You might face audio and video issues in your screen recording if the 'Force desktop mode' flag is turned on in the Developer options. So you need to disable it. For that, open Settings on your phone and go to System > Developer options. You can also search for Developer options using the search in Settings.
You need to add audio recording + playback support to the emulator (Android SDK and AVD manager -> Virtual devices -> Edit -> Hardware -> New). Then use the [MediaRecorder API][1] to record (MediaRecorder. AudioSource. MIC).
The Android Emulator is very slow. The main reason is because it is emulating the ARM CPU & GPU, unlike the iOS Simulator, which runs x86 code instead of the ARM code that runs on the actual hardware.
I had the same problem and I have solved it by changing a parameter in the emulator's config.ini file
To solve it you have to go to the path where you have the emulator installed: Example -> C:\Users\XXXX\.android\avd\
You enter the emulator that you want to fix and where it says:
hw.gpu.mode = auto
You replace it with:
hw.gpu.mode = guest
Save changes and restart the emulator
I had the same issue and was able to solve it by changing Emulated Performance to "Software-GLES 2.0" in the AVD settings. In the notes, it says that this setting is supposed to be used to work around issues with the computer's graphic card. (This solution is similar to the one of @padDad, just with a different setting)
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With