以免之後還走冤枉路,也分享給大家看看。
Mac OS version: 10.9
Version of adb: 1.0.31
- Get android sdk and install it
- Set the environment path for android platform tools
- export PATH=$PATH:/XXX (XXX is the path of platform tools)
- Get the vendor id of android device (make sure it is already connected to host
- execute the following command in terminal
- system_profiler SPUSBDataType
- Echo the vid to ~/.android/adb_usb.ini
- echo xxx >
~/.android/adb_usb.ini (xxx is the vid of device) - Restart adb
- adb kill-server
- adb start-server
- (However, in my experience, it is recommended to restart your mac)
沒有留言:
張貼留言