
Notes: You might be required to close and re-open your terminal to verify the installation of Android Platform Tools and Android SDK Tools. Installed as /data/tools/android-sdk/platform-tools/adb Now we will verify the adb and sdkmanager commands as shown below. In my case, I have installed Android SDK Tools and Android Platform Tools at /data/tools/android-sdk. Notes: Replace the android sdk path based on your installation directory. # Android - SDK Tools & Platform Tools export ANDROID_HOME =/data/tools/android-sdkĮxport PATH =/data/tools/android-sdk/platform-tools :/data/tools/android-sdk/cmdline-tools/tools :/data/tools/android-sdk/cmdline-tools/tools/bin : $ I have installed Android SDK Tools and Android Platform Tools at /data/tools/android-sdk. bashrc file of the user account as shown below. Now press Ctrl + O and press Enter to write our change.

PATH = $PATH : $HOME/bin : $JAVA_HOME/bin Your Java path might be different based on your Java installation. You might be required to update your /etc/profile file to configure the JAVA_HOME path as shown below. The directory structure should be similar as shown below where android-sdk is the ANDROID_HOME directory. You may also follow How To Install Java 8 On Ubuntu, How To Install Java 15 On Ubuntu 20.04 LTS, How To Install OpenJDK 15 On Ubuntu 20.04 LTS, How To Install Android SDK Tools On Ubuntu 18.04, and How To Install Android SDK Tools On Ubuntu 20.04.

It also assumes that you know the path where Platform Tools and SDK Tools are installed. Notes: This tutorial assumes that you have already installed JDK and Android Platform Tools on your Ubuntu system. We can fix this error by adding the ADB to the system path by updating either the. This tutorial provides the steps to resolve this error. You might have encountered the error Command ADB not found while working with Android applications on Ubuntu.
