【Android Studio】Emulator: ERROR | Failed to open /qemu.conf, err: 2

created at 02-10-2022 views: 283

problem

When running the emulator

Emulator: ERROR | Failed to open /qemu.conf, err: 2

reason

Failed to open qemu.conf file

qemu.conf is the configuration file of the Android Studio virtual machine. When the virtual machine starts, the information of the configuration file needs to be read. By default, the configuration file is in the root directory of the C/ disk.

Solution

Create the qemu.conf file in the C/ disk root directory.

Create a new text file on the desktop, rename it qemu.conf, move it to the root directory of the C/ drive, and operate with administrator privileges.

Then just run the emulator again

created at:02-10-2022
edited at: 02-10-2022: