First, System_profiler spusbdatatype View all USB device information for Mac system
Second, [ write content to specified file ]
echo "0X1BBB" > ~/.android/adb_usb.ini (~/stands for all eligible parent directories)
Third, [Configure environment variables]
To open or create a configuration environment variable file
CD ~
Touch. Bash_profile
Open-e. Bash_profile (The key is this sentence, open the bash_profile directly with this editor, if the file is not created)
Source. Bash_profile (update the environment variables just configured to make the configuration effective)
The following is the configuration of the ADB and GRADLE environment variables
[Mac shows hidden folders]
Defaults write Com.apple.finder Appleshowallfiles-bool true (show)
Defaults write Com.apple.finder Appleshowallfiles-bool false (off)
(or defaults write Com.apple.finder appleshowallfiles yes/no)
Mac Terminal Terminal use