`bash: adb: command not found` on Windows
@ProchaLu đang làm issue này rồi.
Từ ngày 5/1/2024.
Đánh giá
Issue này chưa được đánh giá.
Mô tả
@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 /
PATHconfiguration - Try the System Setup Android Studio steps on Windows
- Including the System Setup step to check whether
adbruns
- Including the System Setup step to check whether
- Document the results in this issue
- If
adbdoesn't run, debug the problem and create a PR fixing it
- Ngôn ngữ chính
- Không có dữ liệu ngôn ngữ
- Star
- 30
- Fork
- 18
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Chuẩn bị môi trường
Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của upleveled/system-setup
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
upleveled/system-setup#121 ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 65/100
upleveled/system-setup#46 ·
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 48/100
upleveled/system-setup#123 ·
-
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 65/100
upleveled/system-setup#122 ·
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 35/100
upleveled/system-setup#118 ·