export ANDROID_HOME=$HOME/android-sdk export PATH=$PATH:$ANDROID_HOME/cmdline-tools/latest/bin export PATH=$PATH:$ANDROID_HOME/platform-tools Use code with caution.
If your terminal states that sdkmanager or adb cannot be found, your environment variables are set up incorrectly. Double-check that the paths point exactly to the folders containing the executable binaries. Missing latest Directory Error android sdk tools link
Add .../cmdline-tools/latest/bin to your system's PATH. 3. Essential Command-Line Tools Explained etc.) into that latest folder.
the unzipped contents ( bin , lib , etc.) into that latest folder. android sdk tools link