I am facing Error even after having correct env paths and sdk Installed, When I run yarn react-native doctor, it shows that no sdk verion found, below is attached s shot
Here is my env vars in zsh config
export PATH="/usr/local/opt/ruby/bin:$PATH"
export ANDROID_HOME=/Users/mac/Library/Android/sdk
export PATH=$PATH:$ANDROID_HOME/build-tools
export PATH=$PATH:$ANDROID_HOME/cmdline-tools/latest
export PATH=$PATH:$ANDROID_HOME/platform-tools
export PATH=$PATH:$ANDROID_HOME/emulator
export JAVA_HOME=/Library/Java/JavaVirtualMachines/zulu-11.jdk/Contents/Home
Here is attached android studio settings
I tried all method available to solve problem





I've faced the same problem I tried all the possible solution but all in vain but I found out a little hack you can still run your application by using.
npx react-native startwhen you do this it will find a file named local.properties .Sometimes while creating the project it is not there so you will create it manually and put the following:replace the username here with your own username and java.home with you own JAVAHOME path then even the doctor says the android studio sdk is not here your application still build and run the file will be created here local.properties file location