You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've built the x86_64 emulator image with following command:
nix-build --arg configuration '{ device="x86_64"; flavor="vanilla"; }' -A emulator
But when I run the ./result I get this error:
$ ./result
INFO | Android emulator version 31.1.4.0 (build_id 7920983) (CL:N/A)
ERROR | This AVD's configuration is missing a kernel file! Please ensure the file "kernel-ranchu" is in the same location as your system image.
ERROR | ANDROID_SDK_ROOT is defined (/nix/store/04x8sf67kc6w1n813r3i11kgla07mw78-fake-sdk) but cannot find kernel file in /nix/store/04x8sf67kc6w1n813r3i11kgla07mw78-fake-sdk/system-images/ sub directories
I'm on branch commit c8a71bcd1236fad6ae7dea846bab37b9f4c7a641 (HEAD, tag: vanilla-2022022022, tag: grapheneos-2022021721
Any idea what I'm doing wrong or how to fix the error?
The text was updated successfully, but these errors were encountered:
This nix command in the AOSP build system runs something like lunch aosp_x86_64-eng, which does not build the necessary files for an emulator. with lunch sdk_x86_64-eng it does.
So setting the productNamePrefix = "sdk_"; option in the config would solve this issue.
Hello,
I've built the x86_64 emulator image with following command:
But when I run the
./result
I get this error:I'm on branch
commit c8a71bcd1236fad6ae7dea846bab37b9f4c7a641 (HEAD, tag: vanilla-2022022022, tag: grapheneos-2022021721
Any idea what I'm doing wrong or how to fix the error?
The text was updated successfully, but these errors were encountered: