Android development environment built under OS X

Source: Internet
Author: User

Preparation Tools

Java 1.6 for Mac OS x running Eclipse on Mac reminds you of the Java 6 Runtime support library

Java 1.8 for Mac OS x I developed the JDK version

eclipse-I developed the version for Eclipse Luna release (4.4.0)

Android Development Tools (ADT)-Android developer Plug-in

Android sdk-must ...

ADT Installation Method

The installation of other tools is a fool-style installation, very simple. There are several ways to install ADT:

The first type:

1. Open Eclipse-hlpe-install New software ...

2. Enter https://dl-ssl.google.com/android/eclipse/with entry in work

3, wait for pending finished, tick development Tools, click Next.

The second type (the first type of network is not a test of patience, the second is manual installation):

1, use search engine to search out ADT installation package, you can go to this URL to see http://www.cnblogs.com/bjzhanghao/archive/2012/11/14/android-platform-sdk-download-mirror.html.

2. Unzip it and put it under the Dropins folder in the Eclipse directory to restart Eclipse.

The third type:

1, use the search engine to find ADT installation package, download, unzip.

2. Open Eclipse-hlpe-install New software ...

3. Click Add-local...-adt directory-ok.

4, all the way next plus wait, restart eclipse.

After installing ADT, Android application Project could not be found directly in Eclipse's File-new, which is available in other. To show the Android application project directly in File-new, there are a few ways to do this:

1. Create a new Android project successfully.

2, open the Menu Window-new window, and then a new window appears, now look at the File-new menu is not Android application project, restart eclipse will still exist.

Configuring the Android SDK

1, download the Android SDK, you can go to the official website to download (the official website is very slow to open), you can go to http://www.cnblogs.com/bjzhanghao/archive/2012/11/14/ Android-platform-sdk-download-mirror.html

2. Unzip the downloaded Android SDK, open the Eclipse-preferences dialog box, find the Android item, click Browse, select the SDK directory.

Figure 1 Android SDK Catalog selection

3. After the Android SDK directory is configured, various versions of the SDK and tools can be managed through the Android SDK manager.

Figure 2 Android SDK Manager

4, after the installation of the SDK, you should configure the Android virtual machine, no Android virtual machine can not debug the program.

Figure 3 Android Virtual Device Manager

Summarize

Setting up an Android development environment you also need to configure environment variables under Windows, which is not required under OS x. Installation methods are very similar, may be due to system differences, the construction process will appear a variety of problems. When encountering a problem, don't worry, be patient, believe the search engine is still very powerful.

Android development environment built under OS X

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.