Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Cannot run adb from terminal in Ubuntu

I am new to Ubuntu. I cannot run adb in my terminal. When I try to run adb in the terminal I get the following error:

No command 'adb' found

At the same time I can run my Android application in the emulator. What can be the problem?

like image 327
Dev.Sinto Avatar asked Dec 22 '10 06:12

Dev.Sinto


2 Answers

That means adb is not in the PATH.

If adb is in the current directory, try ./adb instead.

the following command will show you the PATH: echo $PATH

like image 168
William Niu Avatar answered Oct 07 '22 15:10

William Niu


The command adb isn't on your path.

If you installed Android SDK manually, go to SDK install directory, then platform-tools. adb should be there.

If you didn't install the SDK at all, well, there's your problem.

like image 43
darioo Avatar answered Oct 07 '22 15:10

darioo