react native doesn't find android studio and sdk

Viewed 186

There are so many questions on this but in my particular case

  • Android Studio itself is giving error.

  • Android SDK is not showing supported version.

enter image description here

In .bashrc I have the following :-

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

I moved this thing to bash_profile and tried but no luck. It is same.

any working solution is good. My Ubuntu version is 20.4

1 Answers

try to enter into android studio and go to sdk manager and install sdk 10

Related