I’m building an app using expo(React Native) and I’m trying to run it through the android emulator I have set the ANDROID_HOME environment varialble to the location of the SDK and I have checked that the platform-tools directory has adb in it but when I run npm start it gives me the Error: spawn /home/carl/Android/Sdk/platform-tools/adb ENOENT. Which i belive means file not found. Ive tried running it using nix-shell -p but i got the same error.
My assumption is that its trying to execute the adb binary and is unable to do so because nix doesnt allow it. Is there a workaround for this?
Anything that could point me in the right direction would be greatly appreciated!
If this is some FHS-assuming dynamically linked binary, you have to execute the binary inside of an fhsenv or use a global dynamic linker such as nix-ld.
Where are you running lld from? Where are you running the build tool from?
Because you should not be getting those links unless you’re inside of an fhsenv already.