当前位置:  开发笔记 > 编程语言 > 正文

IntelliJ IDEA 12和Homebrew Android SDK

如何解决《IntelliJIDEA12和HomebrewAndroidSDK》经验,为你挑选了1个好方法。

我已经通过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中创建一个新的Project/Android应用程序时,我无法获得android SDK的路径(在/ usr/local/Cellar /中),我无法复制/通过表单中的路径,IntelliJ打开Finder,无法访问/ usr/local/Cellar.

我正在寻找一种干净而优雅的方式来在IntelliJ IDEA中添加自制软件的android sdk



1> CrazyCoder..:

    CmdShift.文件选择器对话框以显示隐藏文件.

    导航到/usr/local/Cellar/android-sdk/r21.1目录.

如果键盘快捷键不起作用(例如,另一个插件正在使用该快捷键),另一种选择是添加/usr到您的查找器收藏夹并从那里导航.

推荐阅读
mobiledu2402851173
这个屌丝很懒,什么也没留下!
DevBox开发工具箱 | 专业的在线开发工具网站    京公网安备 11010802040832号  |  京ICP备19059560号-6
Copyright © 1998 - 2020 DevBox.CN. All Rights Reserved devBox.cn 开发工具箱 版权所有