看下面你就学会了,不知道网上那些傻逼为什么搞什么别名,直接调用不就好了?


dls@DESKTOP-XPS13:~$ ls /mnt/c/PhoenixSuitV1.1/adb.exe
/mnt/c/PhoenixSuitV1.1/adb.exe
dls@DESKTOP-XPS13:~$ /mnt/c/PhoenixSuitV1.1/adb.exe shell
* daemon not running. starting it now on port 5037 *
* daemon started successfully *


BusyBox v1.27.2 () built-in shell (ash)

------run profile file-----
   __  ___     _        __   _
  /  |/  /__ _(_)_ __  / /  (_)__  __ ____ __
 / /|_/ / _ `/ /\ \ / / /__/ / _ \/ // /\ \ /
/_/  /_/\_,_/_//_\_\ /____/_/_//_/\_,_//_\_\
 ----------------------------------------------
root@sipeed:/#

摊手~

2021 年了 在 WSL2 中使用 adb 、fastboot 的等命令

你要是实在手痒要别名也可以,放到 ~/.bashrc 底下写一行 alias adb='/mnt/c/PhoenixSuitV1.1/adb.exe'

其他同理。

相关文章:

  • 2021-12-20
  • 2021-10-19
  • 2021-11-13
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2021-10-07
  • 2021-08-22
  • 2021-04-22
  • 2023-01-03
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案