Android+eclipse+maven Environment Construction

Source: Internet
Author: User

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

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.