Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

UIAutomator environment configuration

2025-01-19 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >

Share

Shulou(Shulou.com)06/03 Report--

1. JDK configuration

JDK must be above version 1.6

Create a new in the system variable:

Variable name: JAVA_HOME

Variable value: d:\ java\ jdk1.7.0_79

Edit the system variable path to add two paths at the end: (remember that each path is separated by a semicolon)

% JAVA_HOME%\ jre\ bin;%JAVA_HOME%\ bin

2. Android-adk configuration

Create a new in the system variable:

Variable name: ANDROID_HOME

Variable value: d:\ adt-bundle-windows-x86-20140702

Edit the system variable path to add two paths at the end: (remember that each path is separated by a semicolon)

% ANDROID_HOME%\ platform-tools;%ANDROID_HOME%\ tools

3. ANT configuration

Download and then decompress

Create a new one in the system variable: (the value of the variable depends on the directory decompressed by everyone)

Variable name: ANT_HOME

Variable value: d:\ tools\ apache-ant-1.9.5

Edit the system variable path to add ant paths at the end: (remember that each path is separated by a semicolon)

%: ANT_HOME%\ bin

4. Restart cmd

Restart CMD, enter

The following message appears in ant-version indicating that the installation is successful

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Internet Technology

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report