I want to run android device emulator. I created the following emu.nix
file, run nix-build emu.nix
then bin/run-test-emulator
in the result. But it says Valid ABIs: no ABIs. Error: This platform has more than one ABI. Please specify one using --abi.' to get the target ids
.
There seems to be no valid ABIs for the virtual device. How can I fix that?
Here’s the file emu.nix
:
with import <nixpkgs> {};
androidenv.emulateApp {
name = "emu";
platformVersion = "26";
useGoogleAPIs = false;
enableGPU = false;
abiVersion = "x86_64";
avdHomeDir = "/home/alice/.avd";
}