1. Install the JDK, set the environment variable slightly
2. Install the Android SDK
: http://developer.android.com/sdk/index.html
Set Environment variables:
New variable name: android_sdk_home, the variable value is the path to ANDROID-SDK: D:\ADT-BUNDLE-WINDOWS-X86-20140321\SDK
Add after path:;%android_sdk_home%\platform-tools;%android_sdk_home%\tools;
Check whether the installation: cmd->adb command
3. Installing ADT
"Help", "Install New Software" in the Eclipse IDE
Name:adt
Location:http://dl-ssl.google.com/android/eclipse
Tick Android Ddms and Android development Tool
Set SDK for plugin, specify directory for SDK installation
4. Installationm2e-android
Method 1:eclipse "Help", "Install New software" in the IDE
location:http://rgladwell.github.com/m2e-android/updates/
Method 2:perferences->maven->open Catalog->android Connector
5. Create a MAVEN project
New Project ...
See if there is an Android-related artifact Id
If not, click Add archetype ...
respectively:
De.akquinet.android.archetypes
Android-quickstart
1.1.0
Next
Here the platform fill perferences->android the API level specified below
Note:
maven3.0.5+maven-android-plugin3.3.0~3.5.3
maven3.1.1+maven-android-plugin3.8.0~3.8.1
Android+eclipse+maven Environment Construction