LoginSignup
21
22

More than 5 years have passed since last update.

adbコマンドが実行出来るようになるまで

Last updated at Posted at 2014-03-07

1. SDKのダウンロード

こちらからダウンロードして、同じフォルダに解凍します。

2. アプリケーション以下に配置

$ cd ~/Downloads
$ mv adt-bundle-mac-x86_64-20131030 android-sdk
$ mv android-sdk /Applications/

※adt-bundle-mac-x86_64-20131030というファイル名は適宜変更してください。

3. パスの追加

  • bashの場合
echo 'export PATH="$PATH:/Applications/android-sdk/sdk/platform-tools"' >> ~/.bash_profile
  • zshの場合
echo 'export PATH="$PATH:/Applications/android-sdk/sdk/platform-tools"' >> ~/.zshrc

4.ためす

  1. apkファイルがあるフォルダに移動
adb install ./hogehoge.apk

Good Android Life!

21
22
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
21
22