Android basics -- elipse Development Environment configuration in MacOSX
Not long ago I changed my macbook, and then I made the development environment ready. This was the case. Today, a blogger asked me to write an article on configuration, considering that this item may still be used in the future, write it down and share it with everyone. I just want to review it again and get familiar with it.
1. Download adt
Mac: http://developer.android.com/sdk/index.html
Ii. Configure jdk
After the download is complete, decompress the adt to the specified path, open the terminal, and run the following command:
java -version
If the specific version is displayed, it indicates that java is installed on the local machine, you can directly use the adt
If java is not installed on the local machine, download and install the latest jdk.
After installation, configure the java environment variable
Open the terminal and enter the following command
touch .bash_profileopen -e .bash_profile
A text editor will pop up, showing the path. Simply add the path of your jdk to the end. Remember to use: to separate different paths.
Similar to configuring environment variables in windows, run the following command to view the Configuration:
env
If jdk is available in PATH, the configuration is successful.
3. Install sdk platform tools. In order to be able to use android development tools normally, we also need to install some built-in Development kits, tools, source code, documents, and so on. Open android sdk manager, select the content you want to update, and then install. Because google is walled, you need to use vpn and other methods to update the content normally.
Iv. adb Configuration
You can configure jdk in the same way as above, but add the sdk path in path. For more information, see this blog.
Http://blog.csdn.net/csr_yang/article/details/37975539
<喎?http: www.bkjia.com kf ware vc " target="_blank" class="keylink"> VcD4KPHA + signature/e08r + qwbS90zwvcD4KPHA + wfmhosbky/s8L3A + signature + 7XEsuW8/Signature/vMvRy/fS/Signature + signature/Signature + Signature = "http://www.2cto.com/uploadfile/Collfiles/20140808/2014080809325121.png" alt = "">
The mac configuration process is probably like this. There may be some special differences in the computer of each person, so you can comment out any questions.