• android+eclipse+maven环境搭建


    1.安装jdk,设置环境变量  略
    2.安装android  sdk
    下载地址:http://developer.android.com/sdk/index.html  
    设置环境变量:
    新建变量名:ANDROID_SDK_HOME,变量值是android-SDK的路径:D:adt-bundle-windows-x86-20140321sdk
    在path路径后面添加:  ;%ANDROID_SDK_HOME%platform-tools;%ANDROID_SDK_HOME% ools; 
    检查是否安装:cmd->adb命令
    3.安装ADT
    Eclipse IDE中  "Help" -> "Install New Software"
    Name:ADT
    Location:http://dl-ssl.google.com/android/eclipse

    android+eclipse+maven环境搭建
    勾选 Android DDMS和Android Development Tool
    android+eclipse+maven环境搭建

    为插件设置sdk,指定sdk安装的目录
    android+eclipse+maven环境搭建
    4.安装m2e-android
    方法1:Eclipse IDE中  "Help" -> "Install New Software"
    location:http://rgladwell.github.com/m2e-android/updates/
    android+eclipse+maven环境搭建方法2:perferences->maven->open catalog->Android Connector

    5.创建maven项目

    new project...
    android+eclipse+maven环境搭建

    查看是否有android相关的Artifact Id
    android+eclipse+maven环境搭建
    如果没有,点击  Add  Archetype...
    分别是:
    de.akquinet.android.archetypes
    android-quickstart
    1.1.0
    android+eclipse+maven环境搭建
    next
    android+eclipse+maven环境搭建

    这里的platform填 perferences->android  下面指定的API Level
    注:
    Maven3.0.5+Maven-android-plugin3.3.0~3.5.3
    maven3.1.1+Maven-android-plugin3.8.0~3.8.1

  • 相关阅读:
    SQL SEREVR IO
    INTEL
    windows performance
    The DiskSpd Storage Performance Tool
    machine Learning
    NOSQL
    X64 Deep Dive
    Debugging and performance,ETW
    Disk Performance
    WCF transport-and-message-security
  • 原文地址:https://www.cnblogs.com/fb-boy/p/4301461.html
Copyright © 2020-2023  润新知