我已经通过 Homebrew 安装了最新的 android SDK:
brew install android
brew info android
android-sdk: stable r21.1
http://developer.android.com/index.html
/usr/local/Cellar/android-sdk/r21.1 (9032 files, 619M) *
Built from source
https://github.com/mxcl/homebrew/commits/master/Library/Formula/android-sdk.rb
==> Caveats
Now run the `android' tool to install the actual SDK stuff.
The Android-SDK location for IDEs such as Eclipse, IntelliJ etc is:
/usr/local/Cellar/android-sdk/r21.1
You will have to install the platform-tools and docs EVERY time this formula
updates. If you want to try and fix this then see the comment in this formula.
You may need to add the following to your .bashrc:
export ANDROID_SDK_ROOT=/usr/local/opt/android-sdk
Bash completion has been installed to:
/usr/local/etc/bash_completion.d
我已经从“android”工具安装了最新的 SDK,但是在 IntelliJ IDEA 12 中创建新的项目/Android 应用程序时,我无法找到 android SDK 的路径(在 /usr/local/Cellar/ 中),我无法复制/past 表单中的路径,IntelliJ 正在打开 Finder,无法访问 /usr/local/Cellar。
我正在寻找一种干净优雅的方式来在 IntelliJ IDEA 中添加自制的 android sdk