Posts

Showing posts from October, 2017

Add Android PATH to your ubuntu profile and make your life less shitty (Updated 15 March 2018)

Like the title say,  let us do it.

After you finish doing installation of the Android SDK, you probably don't want to open the terminal and keep on typing cd to find adb path before doing god know what.

Obviously I'm the latest generation of GNU/Linux user that cannot be bothered with learning vi or emacs, so I'm going to use nano instead.

DISCLAIMER: I've tried it on Ubuntu, Kali Linux and Debian, it works for me so far.


Open your terminal, make sure it is in the home directory, click Ctrl + H and locate your .bashrc file.type sudo nano .bashrc, enter your password if you are not root (duh).scroll until the end of all those things that we don't understand.start typing the path of your Android SDK:
export PATH="$PATH:/"your_path"Android/Sdk/tools/:/"your_path"/Android/Sdk/platform-tools/:/"your_path"/Android/Sdk/build-tools/26.0.2/"Save those things by clicking Ctrl + O.Exit your nano by clicking Ctrl + X.Now to enable the cha…