-
View the Terminal configuration in the settings
-
Those that are not zsh can be moved away! !
-
Here is zsh, open the terminal, enter
open .zshrc
-
Add the platform-tools path to the file, for example, mine is
#adb export PATH=${PATH}:/Users/xxxxxxxxx/Library/Android/sdk/platform-tools
-
save and exit
-
Enter in the terminal
source .zshrc
-
It should be successful at this point. You can open Android Studio (requires cold start) and enter adb in Terminal to see whether the configuration has been successful.
Configure global adb in mac & zsh environment
Guess you like
Origin blog.csdn.net/weixin_40934065/article/details/125562779
Recommended
Ranking