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:
adb
No command 'adb' found
At the same time, I can run the Android application in the emulator. What could be the problem?
This means adb is not in PATH.
If adb is in the current directory, try ./adb .
./adb
the following command will show you PATH: echo $PATH
echo $PATH
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.
platform-tools
If you have not installed the SDK at all, well, here is your problem.
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!
Even if I am in platform tools where there is an adb file, I give. / adb, but his command was not found.
Drag the adb file to the terminal. You can execute one command at a time if you want to execute the following command
Try:
sudo apt-get install android-tools-adb
Everything will be done for you.
Source: https://habr.com/ru/post/1333008/More articles:Rebooting a Java class - javaCan someone explain a little about this statement about mysqli close function? - phpEfficiency fopen / fclose - c ++Finding a data gap from a piecewise function - javaComparison in C ++ - c ++Refactoring a huge if (... instanceof ...) - javaIn ASP.NET MVC RC3 with Razor - @ String.Format ("{0: hh: mm: ss}", timespan) errors - error? - asp.net-mvchttps://translate.googleusercontent.com/translate_c?depth=1&rurl=translate.google.com&sl=ru&sp=nmt4&tl=en&u=https://fooobar.com/questions/1333011/return-a-json-object-using-php-jsonencode-mysql-to-pass-to-jquery-function&usg=ALkJrhjqVP8RBEfiHP2p47h4wtlzcorvfgIE7 / 8: div loses: hover if mouse moves over iframe inside div! - htmlWork with XML, Schemas, DOM, PHP, etc. - domAll Articles