Tuesday 7 May 2013

Put Android ADB in your command path Linux \ Ubuntu

First of all, make sure you are in your home path so execute

cd ~

then we need to edit the .bashrc file, so type

sudo nano .bashrc

then add the line below to this file, switching user and path to suit your needs..

export PATH=${PATH}:/home/user/android-sdk-linux/platform-tools:/home/user/Downloads/Android/android-sdk-linux/tools

restart your terminal, type android to check the tools path, and adb to check the platform-tools path.

done.

No comments:

Post a Comment