Ashutosh Pathak
2 min readApr 7, 2021

Appium setup for Android

Some simple steps to start Appium on windows,

Install JDK and set path

Download JDK version 1.8+ on your windows machine using below link,

https://www.oracle.com/in/java/technologies/javase/javase-jdk8-downloads.html and Install It.

After installation go to Control Panel > System and Security > System >Advanced system settings select environment variable then click on new under system variables, enter variable name and provide the path for your JDK.

If JDK is already there in your system, then simply validate JDK path in advanced system settings and move towards next step.

Android SDK installation and setup

Download Android studio using link, https://developer.android.com/studio

Select desired path for the app and install it.

After installation go to configure >SDK Manager and download android API’s as per your requirements, copy the SDK manager path.

· Set Path for SDK Manager

Go to Control Panel > System and Security > System >Advanced system settings, select environment variable then click on new under system variables, enter variable name and paste the SDK path.

· Set path for platform-tools

Go to the SDK folder by using path, C:\Users\Ashutosh\AppData\Local\Android\Sdk

Select platform tools, copy the platform-tools path.

Go to Control Panel > System and Security > System >Advanced system settings, select environment variable then click on new under system variables, enter variable name and paste the platform-tools path.

· Set path for tools

Go to the SDK folder by using path, C:\Users\Ashutosh\AppData\Local\Android\Sdk

Select tools, copy the tools path.

Go to Control Panel > System and Security > System >Advanced system settings, select environment variable then click on new under system variables, enter variable name and paste the tools path.

· Set path for UI-Automator

Go to the SDK folder by using path, C:\Users\Ashutosh\AppData\Local\Android\Sdk

Select tools, click on bin folder, copy the path.

Go to Control Panel > System and Security > System >Advanced system settings, select environment variable then click on new under system variables, enter variable name and paste the bin folder path.

Appium desktop client installation

Download the Appium server from the given link, https://appium.io/downloads.html and install it

Eclipse setup

Download eclipse using given link,

https://www.eclipse.org/downloads/packages/release and install it.

Project setup in eclipse

Import your project in eclipse if you don’t have simply create new maven project.

Add selenium JAR files and other external JARs as per the project requirement.

For adding jar go to, Project >Build path >Configure build path

Download AspectJ weaver jar using path,

https://jar-download.com/artifacts/org.aspectj/aspectjweaver

Mention URL and port number of Appium server in your script and start execution.

Sign up to discover human stories that deepen your understanding of the world.

Free

Distraction-free reading. No ads.

Organize your knowledge with lists and highlights.

Tell your story. Find your audience.

Membership

Read member-only stories

Support writers you read most

Earn money for your writing

Listen to audio narrations

Read offline with the Medium app

Ashutosh Pathak
Ashutosh Pathak

Written by Ashutosh Pathak

0 Followers

Software Engineer | enthusiast| always looking for something New ..

No responses yet

Write a response