mac下adb调试安卓相关

mac安装adb

brew cask install android-platform-tools

相关命令,以后整理

system_profiler SPUSBDataType

Vendor ID: 0x12d1  (Huawei Technologies Co., Ltd.)

echo "0x12d1" >> ~/.android/adb_usb.ini

vim ~/.android/adb_usb.ini

adb kill-server
adb devices
admin

发表评论

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen: