読者です 読者をやめる 読者になる 読者になる

DRYな備忘録

Don't Repeat Yourself.

Macでadbコマンドどこいった?

Android

問題

調査

% sudo /usr/libexec/locate.updatedb
% locate platform-tools
/Users/otiai10/sdk/platform-tools
/Users/otiai10/sdk/platform-tools/NOTICE.txt
/Users/otiai10/sdk/platform-tools/adb
/Users/otiai10/sdk/platform-tools/api
/Users/otiai10/sdk/platform-tools/dmtracedump
/Users/otiai10/sdk/platform-tools/etc1tool
/Users/otiai10/sdk/platform-tools/fastboot
/Users/otiai10/sdk/platform-tools/hprof-conv
/Users/otiai10/sdk/platform-tools/source.properties
/Users/otiai10/sdk/platform-tools/sqlite3
/Users/otiai10/sdk/platform-tools/systrace
/usr/local/Library/Formula/android-platform-tools.rb

ということで

解決

% export PATH=/Users/otiai10/sdk/platform-tools:$PATH
% which adb
/Users/otiai10/sdk/platform-tools/adb

はい