Build an Android Eclipse development environment on Mac computers
There are 4 steps to building an Android Eclipse development environment on a Mac computer:
1. Install the JDK first, be careful not to install the latest 1.9, install 1.8 is good 2. Download Eclipse 3. Install the ADT plugin on Eclipse 4. Via the Android SDK Manager Install the Update Android SDK tool
Detailed Step Description
Install the JDK.
Be careful not to install the latest 1.9, install the 1.8 as well. I initially installed 1.9, the results of various pits Ah, after a long time to find that the JDK version of the problem, so that the latest version is not necessarily the best, there may be compatibility issues.
Here is JDK1.8 download link, download this version is good (MAC 64 bit).
Https://download.oracle.com/otn-pub/java/jdk/8u151-b12/e758a0de34e24606bca991d704f6dcbf/jdk-8u151-macosx-x64.dmg
If the installation version is wrong and you want to remove the JDK version, you can remove the JDK by following the link below
54809545
2. Download Eclipse
The version I chose is Mars, and it is recommended that you choose the version according to your habits.
Mac version of Eclipse mars download link
https://www.eclipse.org/downloads/download.php?file=/technology/epp/downloads/release/mars/2/ Eclipse-cpp-mars-2-macosx-cocoa-x86_64.tar.gz
The download links for each version of Eclipse are here:
Https://www.eclipse.org/downloads/packages/release/Mars/2
3. Installing the ADT plugin on eclipse
You can download ADT First and then install ADT offline. You can refer to the following blog
69945871
4. After installing the ADT plugin, the Android SDK tool can be installed with Android SDK Manager.
The Android SDK download link is as follows:
Https://dl.google.com/android/android-sdk_r24.4.1-macosx.zip
More Android SDK:
Https://tools.android-studio.org/index.php/sdk
After downloading the Android SDK, open the Eclipse Auto-Import SDK directory. Android SDK Tools can be updated with Android SDK Manager
The steps are as follows:
Open Eclipse, select Window from the top menu, and find the Android SDK Manager in the drop-down menu.
After entering the Android SDK Manager, you can choose to download the Android SDK version as needed, such as Android 5.1.1 version.
Original source: https://www.2cto.com/kf/201712/705791.html
Install Eclipse's Android development environment on Mac computers