Command not found: adb when executed from adb's directory

agconti

I just installed android studio and and platform tools and I cant call adb even though its clearly located in the same directory. I get this error:

zsh: command not found: adb

I'm new to the android SDK so this probably an easy fix. Any ideas?

Example execution:

agconti-Inspiron-5520 :: android-studio/sdk/platform-tools » adb            1 ↵
zsh: command not found: adb
agconti-Inspiron-5520 :: android-studio/sdk/platform-tools » ll           127 ↵
total 3.2M
-rwxrwx--- 1 agconti agconti 1.3M Jun 21 21:09 adb
drwxrwx--- 2 agconti agconti 4.0K Jun 21 21:12 api
-rwxrwx--- 1 agconti agconti  47K Jun 21 21:09 dmtracedump
-rwxrwx--- 1 agconti agconti 220K Jun 21 21:09 etc1tool
-rwxrwx--- 1 agconti agconti 197K Jun 21 21:09 fastboot
-rwxrwx--- 1 agconti agconti 9.9K Jun 21 21:09 hprof-conv
-rw-rw---- 1 agconti agconti 704K Jun 21 21:12 NOTICE.txt
-rw-rw---- 1 agconti agconti   39 Jun 21 21:09 source.properties
-rwxrwx--- 1 agconti agconti 754K Jun 21 21:09 sqlite3
drwxrwx--- 2 agconti agconti 4.0K Jun 21 21:09 systrace 
Gabe Sechan

Use:

./adb  

Unless . is in your path it won't be found. And for security, . shouldn't be in your path.

Collected from the Internet

Please contact [email protected] to delete if infringement.

edited at
0

Comments

0 comments
Login to comment

Related

From Dev

adb: command not found ( from within the platform-tools directory ) on Mac OS X Yosemite

From Java

/bin/sh: adb: command not found

From Dev

'No command 'adb' found' error on Ubuntu

From Dev

adb-shell : /sbin/sh: command: not found

From Dev

Jenkins can not use adb when outside directory

From Dev

How to keep running a process in Android when disconnecting adb terminal? command "nohup" not found

From Dev

adb command's equivalent version in java?

From Dev

Execute ADB command from Java program

From Dev

Execute ADB command from Java program

From Dev

command not found when executed from jenkins, but runs on mac agent

From Dev

adb pull -> device not found

From Dev

bash adb command not found via terminal for OUYA driver setup?

From Dev

Using the adb root command

From Dev

adb is not recognized in command window?

From Dev

Gradle, sending command to adb

From Dev

Using the adb root command

From Dev

How to type in an adb command?

From Dev

Android adb shell command to play sound from the command line

From Dev

ADB: How to tap/close from recent apps to completelty through ADB one liner command

From Dev

Find "command not found" when executed in bash loop

From Dev

Is There an adb/shell command to list the items on the android's notification bar?

From Dev

adb: Find PID from the adb shell

From Dev

execute adb shell input swipe command from apk

From Dev

Query Android content provider from command line (adb shell)

From Dev

Get device information (such as product, model) from adb command

From Dev

adb copy apk from system/app using pull command

From Dev

adb copy apk from system/app using pull command

From Dev

Phone Wiko Kite not found in ADB

From Dev

Adb says -> USB DEVICE NOT FOUND

Related Related

  1. 1

    adb: command not found ( from within the platform-tools directory ) on Mac OS X Yosemite

  2. 2

    /bin/sh: adb: command not found

  3. 3

    'No command 'adb' found' error on Ubuntu

  4. 4

    adb-shell : /sbin/sh: command: not found

  5. 5

    Jenkins can not use adb when outside directory

  6. 6

    How to keep running a process in Android when disconnecting adb terminal? command "nohup" not found

  7. 7

    adb command's equivalent version in java?

  8. 8

    Execute ADB command from Java program

  9. 9

    Execute ADB command from Java program

  10. 10

    command not found when executed from jenkins, but runs on mac agent

  11. 11

    adb pull -> device not found

  12. 12

    bash adb command not found via terminal for OUYA driver setup?

  13. 13

    Using the adb root command

  14. 14

    adb is not recognized in command window?

  15. 15

    Gradle, sending command to adb

  16. 16

    Using the adb root command

  17. 17

    How to type in an adb command?

  18. 18

    Android adb shell command to play sound from the command line

  19. 19

    ADB: How to tap/close from recent apps to completelty through ADB one liner command

  20. 20

    Find "command not found" when executed in bash loop

  21. 21

    Is There an adb/shell command to list the items on the android's notification bar?

  22. 22

    adb: Find PID from the adb shell

  23. 23

    execute adb shell input swipe command from apk

  24. 24

    Query Android content provider from command line (adb shell)

  25. 25

    Get device information (such as product, model) from adb command

  26. 26

    adb copy apk from system/app using pull command

  27. 27

    adb copy apk from system/app using pull command

  28. 28

    Phone Wiko Kite not found in ADB

  29. 29

    Adb says -> USB DEVICE NOT FOUND

HotTag

Archive