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.
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
