Recently changed a MacBook, and then their own development environment to match, originally this thing is so past, today a blog friends let me write a message about the configuration of the article, considering that this thing may still be used in the future, then write down, share to everyone, just oneself also again review, familiar with familiar.
First, download ADT
Mac Version: http://developer.android.com/sdk/index.html
Second, configure the JDK
After the download is complete, extract the ADT to the specified path, open the terminal, and use the command:
Java-version
If you can display a specific version of this machine with Java installed, you can use ADT directly
If Java is not installed on this machine, download the latest JDK and install it.
After installation, configure the Java environment variables
Open Terminal, enter the following command
Touch. Bash_profileopen-e. Bash_profile
Pop-up a text editor with the path path in it, followed by your JDK, and remember to use: separate paths
The same as Windows configuration environment variables, after the configuration is complete, enter the following command to view:
Env
If you see a path under path that has a JDK, the configuration succeeds.
Third, install the SDK platform tools, in order to be able to use Android development tools, we also need to install some of our own development kits, tools, source code, documentation, open the Android SDK MANAGER, select the content you want to update, and then install, Because Google is a wall, there is a need to use a VPN and other means to update normally.
Iv. configuration of the ADB
Method with the above configuration jdk, but is added in path is the path of the SDK, you can refer to this blog
http://blog.csdn.net/csr_yang/article/details/37975539
V. Installation of third-party simulator genymotion
Refer to this article: Click to open link
Vi. Other
There are some other plug-ins, such as SVN, some theme settings ah what, we can refer to search engines, such as the installation of a theme plug-in, there are a lot of themes, personal feel very good, we can go to find
MAC configuration process is probably the case, there may be a difference in each person's computer will have some special situation, so, there is any problem can be commented out.