ANDROID_HOME setup but not found by expo

Hi! using SDK 46, on my LinuxMint 21.0 box, fresh install, I have setup ANDROID_HOME env variables but despite restarts and double check, every time I start expo with npx expo start I get a warning saying that the ANDROID_HOME var is undefined:

Logs for your project will appear below. Press Ctrl+C to exit.
› Opening on Android…
Failed to resolve the Android SDK path. Default install location not found: /home/martinb/Android/sdk. Use ANDROID_HOME to set the Android SDK location.

My PATH definitions (in .bashrc)

export ANDROID_HOME=$HOME/Android/Sdk
export PATH=$PATH:$ANDROID_HOME/emulator
export PATH=$PATH:$ANDROID_HOME/tools/bin
export PATH=$PATH:$ANDROID_HOME/platform-tools

martinb@internet:~$ echo $ANDROID_HOME

martinb@internet:~$ echo $ANDROID_SDK_ROOT

martinb@internet:~$ echo $PATH

Thanks in advise!

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.