Home » appium-tutorial (Page 3)

Category Archives: appium-tutorial

Newly Updated Posts

Setup Android Environment Variables

How to Setup Android Environment Variables on Window machine?

Once you have installed the SDK Package, Now you have to setup Android Environmental path to your system variable.

Steps to Setup Android Environment Variables are below:

Step 1) Copy the Android SDK path of your folder, placed on your local system.

Android_Environment_Path_0

Step 2) Now right click to local PC or My computer and click to Properties menu

Android_Environment_Path_1

Step 3) Once the System Properties window gets opened click to Environment Variable button.

Android_Environment_Path_2

Step4) Under System variables table click to New button.

Android_Environment_Path_3

Step5) Enter the Variable Name as ANDROID_HOME and Variable value as the path of your android sdk.

Android_Environment_Path_4

Step 6) Now under system variable table select path and click to edit button and set the path of your Android SDK till tools as (%ANDROID_HOME%\tools) and path of Android SDK till platform tools as (%ANDROID_HOME%\platformtools) and click to OK button.

Android_Environment_Path_5

Step 7) Now its time to check that environmental variables are properly set in your system, for this open the command prompt and enter Android and hit Enter.

Android_Environment_Path_6

Step8) As you hit enter after few seconds Android SDK Manager gets open.

Android_Environment_Path_7

So till now we have learned that,on following above steps we can setup Android variable path on your local window machine.

Install Android SDK Package

In the previous tutorial we have learned Download Android SDK on window, now will install Android SDK package.

How to Install Android SDK ?

To setup Android SDK , we need to open Android SDK manager and download the packages. Follow the below steps to setup SDK Package.

Step 1) Open Cmd Prompt or Command Line and type Android and hit enter.

Install Android SDK Package

Step 2) Android SDK Manager will get open, now select the Android package as per the requirement or Api version its always recommended to select or download 4-5 latest Api versions and click to install package. We have downloaded Android 10 (API 29) version as per requirement.

Install Android SDK Package_1

Step 3) Now click to Accept License radio button and click install button under Choose Packages to Install” window

Install Android SDK Package_2

Step 4) Now the Android SDK package will start downloading the package and once all the packages will get downloaded close the ADK manger Window.

So following the above steps we will setup the Android SDK as per requirement of Automation

Follow Us on Facebook: https://www.facebook.com/code2test/?modal=admin_todo_tour

Download & Setup Android SDK

In previour topic we learned setup java , in this tutorial we are going to learn the how to Download & Setup Android SDK but moving we will first understand about Android.

How to Download & Setup Android SDK?

Android is an operating system by google which run on different devices and provide an interactive interface with different application.

The Android software Kit (SDK) provides a package which helps in the development of Android application and for building connection it contains platform tools and ADB driver.

Steps to download Android SDK are below:

Step 1) Click to the link Click and download the SDK.

Download & Setup Android SDK

Step 2) Select the path of on local system where the software to be downloaded.

Download & Setup Android SDK_1

Step 3) Click to Next button under Android SDK Tools Setup

Download & Setup Android SDK_2

Step 4) Now the Android SDK setup will detect you JDK setup and if found will display message, click to Next

Download & Setup Android SDK_3

Step 5) Now you have to choose user for which you want to install Android SDK by default its “Install just for me”, click to Next button.

Step 6) Now install the Android SDK in by default location in c:\ by click to Next button

Step 7) Click to Next button, if not requires shortcut else check under checkbox.

Step 8) Once installation completed, click to Next button

Step 9) Again Click to Next button after final Tools wizard completed.

so once your completed with above steps Android SDK will get configured in your system and next step will be the installation of packages for Android that we will learn on next tutorial