Cannot start adb from terminal in Ubuntu

I am new to Ubuntu. I can not 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 the Android application in the emulator. What could be the problem?

+4
source share
6 answers

This means adb is not in PATH.

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

the following command will show you PATH: echo $PATH

+8
source

The adb command is not in your way.

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

If you have not installed the SDK at all, well, here is your problem.

+7
source

The adb application is 32 bits, an attempt to run it on a 64-bit machine will not work until you install the 32-bit libraries, you can capture them by entering:

sudo apt-get install ia32-libs

Large enough downloads, but you should get started!

+2
source

Even if I am in platform tools where there is an adb file, I give. / adb, but his command was not found.

0
source

Drag the adb file to the terminal. You can execute one command at a time if you want to execute the following command

0
source

Try:

 sudo apt-get install android-tools-adb 

Everything will be done for you.

0
source

Source: https://habr.com/ru/post/1333008/


All Articles