Android basics -- elipse Development Environment configuration in MacOSX

Source: Internet
Author: User
Tags android sdk manager

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.


Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.