I have install adb from terminal. But when I type "adb version" it's not found. Can anyone help me about this problem?
Asked
Active
Viewed 7,093 times
6
2 Answers
5
Use this command for adb installation:
apt install android-tools-adb

Anurag
- 319
-
Installed successfully. But when I run the command "adb version", it displays the message "command adb not found" – Syah Hakam Sep 12 '21 at 13:24
-
This should work. Verify that your are not having any other adb package installed before installing this. Do
apt autoremove
. Reboot your system after install. – Anurag Sep 12 '21 at 17:54
2
- Download the Android SDK Platform Tools ZIP file for Linux from this link.
- Move the file to the location you want to store
adb
using the following commandsudo mv filename.zip /wanted/location/.
- Extract the ZIP with
unzip filename.zip
command. - Enter to
platform-tools/
directory withcd platform-tools/
- if you are not in the extracted directory use the full PATH
cd /home/user/directory/platform-tools
- if you are not in the extracted directory use the full PATH
- Now you can use the
adb
tool from inside theplatform-tools
directory using./adb [options]
for example./adb version
.
- This solution is given from XDA-DEVELOPERS forum.
- For more information you can look in the original manual on this link

CrazyTux
- 458
/usr/lib/android-sdk/platform-tools/adb
– GAD3R Sep 12 '21 at 11:34cd
into yourplatform-tools
directory and then use theadb
command like a script./adb <options>
. – CrazyTux Sep 12 '21 at 12:10But it's still not working for me.
– Syah Hakam Sep 12 '21 at 13:18