Service environment :

1、 install Nodejs

download nodejs Installation package (http://nodejs.org/download/) install

Test the installation for success : function cmd, Input node -v

2、 install android Of SKD

install android Of sdk package ,(http://developer.android.com/sdk/index.html), Operational dependency sdk Medium 'android' Tools . And make sure you install Level17 Or above api.

Set up ANDROID_HOME The system variable is your Android SDK route , And put tools and platform-tools Two directories are added to the system Path In the path .

Variable : ANDROID_HOME

value : D:\android-sdk

Set up : Path

value : %ANDROID_HOME%\platform-tools;%ANDROID_HOME%\tools;

3、 install Apache Ant

install Apache Ant(http://ant.apache.org/bindownload.cgi)

Unzip the folder , And add the path to the environment variable .

Variable : ANT_HOME

value : D:\apache-ant-1.8.2

Set up : Path

value : %ANT_HOME%\bin

test ant Environment installed successfully : function cmd, Input ant, If not specified build.xml Will be output :

Buildfile: build.xml does not exist!

Build failed

4、 install JDK

install JDK

Download the unzip folder And set up M2HOME and M2 environment variable , hold M2 Add environment variables to your system PATH variable .

Variable : JAVA_HOME

value : C:\Program Files (x86)\Java\jdk1.7.0_01

Variable : classpath

value : %JAVA_HOME%\lib;

Set up : Path

value : %JAVA_HOME%\bin;%JAVA_HOME%\jre\bin;

Test environment installed successfully : function cmd, Input java -version If successful, there will be java Information :

5、 install Apache Maven

install Maven(http://maven.apache.org/download.cgi)

Download the unzip folder And set up M2HOME and M2 environment variable , hold M2 Add environment variables to your system PATH variable .

Variable : MAVEN_HOME

value : D:\apache-maven-3.1.1

Set up : Path:

value : %MAVEN_HOME%\bin

Test environment installed successfully : function cmd, Input mvn -v If successful, there will be maven Information :

6、 install Appium

Use npm install appium.

stay cmd Use command npm install -g appium Next in appium( The whole process is slow , Please be patient ) After successful installation , stay cmd Input appium The following message appears to indicate that the installation was successful :

thus ,appium The installation process of is over .

Running environment

1 install Maven plug-in unit

modify maven The location of the warehouse :

find maven Under the conf Under the settings.xml The configuration file , I was in D:\apache-maven-3.2.5\conf\settings.xml

maven By default, our warehouse is placed under the local user's temporary folder .m2 Under folder repository Next , I was in C:\Users\admcnm\.m2\repository Under the table of contents ,

Now let's modify it and assign it to our own path , I'm going to assign the warehouse to D:\Repositories\Maven Under the table of contents , Just open the local warehouse above ,

Then write the corresponding path value into it :

OK, Let's first experience maven, stay cmd Middle tap and enter to execute :mvn help:system

Now maven You start downloading a lot of things from the remote repository , Don't worry , Let it download , It will be downloaded sooner or later ,

Next is in eclipse Install in maven plug-in unit ,

Eclipse There are two most common ways to install plug-ins :

1. One is online installation , This seems to be the most used , Namely :Help --> Install New Software, Then input HTTP Address to install , But there is one obvious drawback : It is slow !( Can pass FQ solve )

2. One is offline installation , use link To install , It's better to pull this way , Plug in and unplug plug-ins at any time , Very convenient .

Appium for Windows More articles on environment construction

  1. Appium Java Windows Environment construction

    1. Android SDK And configure environment variables 1.1. To download sdk Installation package :installer_r24.4.1-windows.exe Download address : link : http://pan.baidu.com/s/1dEyPSa9 ...

  2. appium for windows Environment building

    Service environment : 1  install Nodejs download nodejs Installation package (http://nodejs.org/download/) install Test the installation for success : function cmd, Input node -v 2  install android Of SKD ...

  3. Windows Environment building Red5 Streaming server guide

    Windows Environment building Red5 Streaming server guide Test environment :Windows 7 One .   Download the installer red5-server Download address https://github.com/Red5/red5-ser ...

  4. Battery Historian for windows Environment building

    Battery Historian for windows Environment building brief introduction :Battery historian It's a product that can be uploaded bugreport File analysis user's mobile phone App It's a tool for measuring battery power consumption . Batter ...

  5. Android NDK r8 windows Environment building

    Android NDK r8 windows Environment building One . The default base environment is completed Android Build the development environment Software and plug-ins needed 1. JDK-7u25 2. Eclipse 3. Android SD ...

  6. Windows Environment building Red5 Streaming server guide ( turn )

    Windows Environment building Red5 Streaming server guide Windows Environment building Red5 Streaming server guide Test environment :Windows 7 One .   Download the installer red5-server Download address https:// ...

  7. Windows Environment construction and the first C# Sample

    Redis introduction - Windows Environment construction and the first C# Sample   What is? Redis? Redis It's open source . Support network . Memory based . Key value pair storage database , Use ANSI C To write . from 2013 year 5 Month begins ,R ...

  8. Windows Environment building Web Automated testing framework Watir

    Windows Environment building Web Automated testing framework Watir One . Preface     Web Automated testing has always been an urgent problem , For now web Agile development of development , But there is no corresponding agile testing , So this topic , While studying , On one side will We ...

  9. Windows Environment building mysql The server

    Windows Environment building mysql The server : 1. download mysql-installer-community-5.7.3.0-m13.2063434697 And install   Installation details >> 2. install mys ...

Random recommendation

  1. Write your own from scratch C# frame (6)——SubSonic3.0 The plugin is introduced ( Source code attached )

    The first few chapters are mainly about conceptual things , Introduce the knowledge and content before the project to beginners , From the beginning of this chapter, we will enter the practical stage , Hope to follow the system to learn friends carefully according to the instructions to do every step of the operation ( For the code, it's better to follow the content of the document directly in your IDE Hit one in the middle ...

  2. C++ Project directory Architecture

    The problem of project directory structure is basically a matter of different opinions , The problem of the wise , As long as I use it easily , It doesn't matter what kind of directory structure you use . Of course, if the project is big , There are a lot of people involved , Well, a reasonable organization of the directory structure will still have great benefits . Different ...

  3. devstack View the service log

    Execute the following instructions : $ screen -x stack Press at the same time ctrl and a key , Then press at the same time shift and ' key ( namely "), You can browse to the list of services : Scroll up and down to the service you want to view , Enter to see the current running log . Restart ...

  4. Eclipse Add PyDev plug-in unit

    Ideas 1. start-up Eclipse, 2. Click on Help->Install New Software... 3. In the pop-up dialog , spot Add Button . 4.Name Fill in :Pydev, Location Fill in h ...

  5. cocosbuilder Learning summary

    At present with cocos2d-x-2.14 The version corresponds to cocosbuilder Version is cocosbuilder-3, At present for alpha-5. Stable version is cocosbuilder2.1, But with cocos2d-x Mismatch (C ...

  6. Oracle RAC The five strengths and weaknesses of

    Oracle RAC The five strengths and weaknesses of Different cluster products have their own characteristics ,RAC The following are the characteristics of the system : Two parallel computers .RAC It's a parallel model , It's not the traditional active standby mode . in other words ,RAC All members of the cluster can receive customers at the same time ...

  7. Mvc Search the product page in

    /// <summary> /// Commodity category screening page GoodsTypeName ----------------SelectGoods-- Product selection -- Image & Text /// Home/Selec ...

  8. Domestic Ali maven Warehouse image maven The configuration file maven The warehouse is fast

    Domestic connection maven The official repository update depends on the repository , The network speed is generally very slow , Collect some domestic fast maven Warehouse image for backup . Latest updates :2016 year 11 month 11 Japan 18:05:40 Alibaba cloud provides Maven Private clothes , I'll post the configuration file , since ...

  9. ARM Kernel version number and SOC Version number

    Yuanbo :https://blog.csdn.net/wxywxywxy110/article/details/78764988 Kernel version number                    SoC Version number         ...

  10. java Thread pool simple example

    package com.hra.riskprice; import com.hra.riskprice.SysEnum.Factor_Type; import com.hra.riskprice.po ...