Last active
October 29, 2015 23:16
-
-
Save takashi1975/d20421d5730a4584893e to your computer and use it in GitHub Desktop.
MAC Android Eclipse のインストール
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1. Android SDK のダウンロード(解凍後 Application へ移動) | |
http://developer.android.com/sdk/index.html#Other | |
2. Eclipse Luna のダウンロード(解凍後 Application へ移動) | |
https://www.eclipse.org/downloads/ | |
※起動時に以下のコメントが... | |
「“eclipse”を開くには、以前の Java SE 6 ランタイムをインストールする必要があります。」 | |
対処方法 | |
http://support.apple.com/kb/DL1572 の画面上部にある[Download]の青ボタンをクリックしてインストールっぽい。 | |
3. Eclipse 起動 -> [Help] -> [Install New Software] | |
"Work with:" の右端の[Add...]ボタン を押し、以下を設定 | |
Name : ADT | |
Location: https://dl-ssl.google.com/android/eclipse/ | |
4. 設定した項目を選択し、[Developer Tools] を選択、Android関係のファイルをダウンロード | |
5. 再起動後、エラーが発生する | |
[Preferences]を選択し、[SDK Location] に Android-SDKを解凍したフォルダを入力 | |
(Ex: /Applications/android-sdk) | |
6. 設定後、いくつかのメッセージダイアログを閉じると SDK-Manager が起動 | |
(起動しなかった場合は [Window] -> [Android SDK Manager]) | |
リストから必要(そう?)な項目を選択して [install]ボタンをクリックしてダウンロード | |
~~~ Eclipse で GC overhead limit exceeded が出てしまう...場合 ~~~ | |
1. Eclipse をいったん閉じ、Finder で eclipse をインストールしたフォルダを開き、 | |
eclipseパッケージの中を参照する | |
2. eclipse.ini (例: /Applications/eclipse/Eclipse.app/Contents/MacOS/eclipse.ini) を開き、 | |
以下の記述を修正 | |
-XX:MaxPermSize=256m | |
-Xms40m | |
-Xmx512m | |
↓ | |
-XX:MaxPermSize=1024m | |
-Xms512m | |
-Xmx1024m | |
3. パッケージを閉じ、Eclipseを起動しなおして確認 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
android-ndk-r10d-darwin-x86_64.bin ... 解凍の仕方
http://qiita.com/qt-luigi/items/56fce0bdac347117b649
Download後にFinderでファイルをダブルクリックしてもダメ...
ターミナルでコマンドを実行しないとダメ...めんどくさい ^^;
$ chmod a+x android-ndk-r10d-darwin-x86_64.bin
$ ./android-ndk-r10d-darwin-x86_64.bin