Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

`bash: adb: command not found` on Windows

Aperta
#49 0 commenti 0 reazioni 1 assegnatario Vedi su GitHub

@ProchaLu ci sta già lavorando.

Dal 5/1/2024.

Valutazione

Questa issue non è ancora stata valutata.

Descrizione

@Overcook3265 recently ran through the System Setup steps and encountered issues with adb not being found, with an bash: adb: command not found error message:

martin@DESKTOP-UJBONIT MINGW64 ~
$ adb
bash: adb: command not found

which adb yielded the following (not including the PATH addition by @Josehower in #18 mentioned below):

martin@DESKTOP-UJBONIT MINGW64 ~
$ which adb
which: no adb in (/c/Users/marti/bin:/mingw64/bin:/usr/local/bin:/usr/bin:/bin:/mingw64/bin:/usr/bin:/c/Users/marti/bin:/c/Python312/Scripts:/c/Python312:/c/Program Files (x86)/Common Files/Intel/Shared Libraries/redist/intel64/compiler:/c/Windows/system32:/c/Windows:/c/Windows/System32/Wbem:/c/Windows/System32/WindowsPowerShell/v1.0:/c/Program Files (x86)/NVIDIA Corporation/PhysX/Common:/c/WINDOWS/system32:/c/WINDOWS:/c/WINDOWS/System32/Wbem:/c/WINDOWS/System32/WindowsPowerShell/v1.0:/c/Program Files (x86)/QuickTime/QTSystem:/c/WINDOWS/System32/OpenSSH:/c/ProgramData/chocolatey/bin:/c md:/c/Program Files/nodejs:/c/Program Files/Microsoft VS Code/bin:/c/Program Files/PostgreSQL/16/bin:/c/ProgramFiles/Docker/Docker/resources/bin:/c /Users/marti/AppData/Local/pnpm:/c/Users/marti/AppData/Local/Microsoft/WindowsApps:/c/Users/marti/AppData/Roaming/npm:/c/Users/marti/.fly:/c/Users/m arti/AppData/Local/Programs/Hyper/resources/bin:/c/Users/marti/AppData/Loc al/GitHubDesktop/bin:/us/bin/vendor_perl:/usr/bin/core_perl:/c/Program Files/PostgreSQL/16/bin)

where adb was also not helpful:

martin@DESKTOP-UJBONIT MINGW64 ~
$ where adb
INFO: Could not find files for the given pattern(s) .

Support for adb in the PATH location $HOME/AppData/Local/Android/Sdk/platform-tools was added by @Josehower in this PR:

@ProchaLu will:

  • Find a Windows machine and remove any existing Android Studio things / PATH configuration
  • Try the System Setup Android Studio steps on Windows
    • Including the System Setup step to check whether adb runs
  • Document the results in this issue
  • If adb doesn't run, debug the problem and create a PR fixing it
Lingua principale
Nessun dato sulla lingua
Stelle
30
Fork
18
Merge medio
22m
PR unite (30g)
1

Preparare l'ambiente

Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di upleveled/system-setup

Tutte le issue di upleveled/system-setup

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.