As Google officially has not provided adt-bundle download, the main push Androidstudio. You can download http://www.androiddevtools.cn from this link. There are not only adt-bundle, but also the latest androidstudio. Since OS X is not yet familiar, this is a adt-bundle installation.
One, download jdk
There are two ways to download, one is to download from the link http://www.androiddevtools.cn, select Mac OSX version 1.8u5. As follows:
The second is downloaded from the JDK's official website, the file name is jdk-8u25-macosx-x64.dmg, size 219.3M. This later I upload to Baidu network disk for everyone to download. That's how I downloaded it. When the download is complete, click Open, and then appear as follows:
Click to start the installation, the middle will let you enter the user name and password. After the installation is complete, open a terminal and enter Javac-version to see if the installation was successful.
As shown in the installation is successful. Haha, in fact osx nothing mysterious, all when it is Linux is good.
Second, download Adt-bundle
Download from http://www.androiddevtools.cn, select Mac OSX's 64-bit 23.0.2.
File name is adt-bundle-mac-x86_64-20140702.zip, size 320.6M. is a zip-format package that opens and then sees the familiar Eclipse and SDK folders on root windows. This means that the installation is complete.
Three, open eclipse
Opened after the dumbfounded:
For this reason, I have studied N solutions:
1,http://www.cnblogs.com/zhouyinhui/p/3750836.html lets you modify the info.plist without any effect.
2. Let's configure the JDK environment variable, sudo vim/etc/profile, and then enter:
Java_home=/library/java/javavirtualmachines/jdk1.8.0_25.jdk/contents/home
Export Java_home
Then Source/etc/profile, no effect. Note here that the environment variable setting of the JDK must use sudo vim, after exiting with wq! Otherwise it will not be preserved. JDK path looks like the high-low version of OSX is not quite the same, should be entered in the terminal:/usr/libexec/java_home print out the variable to prevail. Refer to: http://han.guokai.blog.163.com/blog/static/136718271201301183938165/
3, finally found the link: http://java.com/zh_CN/download/faq/java_mac.xml#mac1010
The above link is to open eclipse, the "more information" on the pop-up window, Http://support.apple.com/kb/DL1572?viewlocale=zh_CN&locale=en_US, as follows:
The file name of the download is javaforosx2014-001.dmg,60 m. Click Install. Finally eclipse starts up, and the back is not verbose.
Summary: Be sure to first download the java1.6 installation package on the Apple official website, and then download and install JDK8U25 on the Java official website. Whether the latter is a must I did not test, I installed on the Mac of these two things have not seen a bad phenomenon.
Note: The latest JDK8U25 has been successfully installed on the OSX10.10 without the need to follow the http://www.krislq.com/2014/07/mac-x-yosemide10-10-update-jdk-7-jdk-8/process.
Add: In order for the Mac to use the ADB command normally, the terminal input is required:
Vim ~/.bash_profile
Then type in the file:
Export path= $PATH:/users/yanzi/work/android-tool/android-sdk-macosx/platform-tools:/users/yanzi/work/ Android-tool/android-sdk-macosx/tools
After that, source ~/.bash_profile can.
[]mac to build Android development environment on OS X system