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

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


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:/#

摊手~

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

其他同理。

posted @ 2021-05-25 22:33  Juwan  阅读(1313)  评论(0编辑  收藏  举报