The error is effectively the emulator saying, "I have the body (hardware emulation), but I don't have the brain (operating system). Please give me one so I can work."
Leo opened xemu.toml (the config file) and found the line: failed to open flash file xemu
First, he checked the obvious: