

Yes | $ANDROID_HOME/tools/bin/sdkmanager -sdk_root=$ -licenses Mv cmdline-tools/tools/* $ANDROID_HOME/tools/ Mv cmdline-tools/tools/bin/* $ANDROID_HOME/tools/bin/

# Merge bin with bin and tools with tools Unzip commandlinetools-linux-6609375_latest.zip -d cmdline-tools We now need to install the missing sdkManager: source ~/.bashrc This will add the environment variables: echo 'export ANDROID_HOME="/usr/lib/android-sdk"Įxport ANDROID_SDK_ROOT="/usr/lib/android-sdk" Here is how I installed my android sdk to run React Native on my Android phone:Ĭonsidering that Java and adb is already installed: sudo apt update & sudo apt install android-sdk
