Neither ANDROID_HOME nor ANDROID_SDK_ROOT environment variable was exported

This error appears when trying to run Appium testing using C# on a Mac m1. The weird thing is that appium-doctor show that everything is correct, so not sure what to do.

(base) edgarsamuelsalasreyes@MacBook-Air-van-Edgar appium-demo % echo $PATH
/Users/edgarsamuelsalasreyes/miniforge3/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin:/Users/edgarsamuelsalasreyes/Library/Android/sdk/tools:/Users/edgarsamuelsalasreyes/Library/Android/sdk/platform-tools:/usr/local/go/bin:/Users/edgarsamuelsalasreyes/go:/usr/local/go/bin:/Users/edgarsamuelsalasreyes/.dotnet/tools

The bottom screenshot looks like it’s from an IDE. Appium Doctor can only tell you what’s available to the command line. If the IDE does not read the environment variables correctly from the command line, then you’ll have to look up the documentation for your IDE and figure out how to set them.