Prerequisite: In order to setup environment variables you should have installed ANDROID SDK (Studio) (see link)
In the first step we will try to find the folder path where we have installed Android SDK –
Then add the platform-tools,tools and tools\bin to the path variable like this:
To verify that all the Android Environment Variables are correctly setup, open command prompt and run this command: sdkmanager – -list
Note: I used jdk 8.241 to avoid errors with android studio starting the sdkmanager –list, if you face issues I would advice to install this version for now.
When that is working start Uiautomatorviewer in the commandline ( Appium is calling uiautomator via an api which in which you can record your automated testscripts). If everything is working as expected we can start Appium
If you use a mac os;
Start a terminal then type in the following
Add this to the PATH environment variable
If the terminal doesn’t locate the added path(s) from the .bash_profile, please run this command in terminal
Necessary cookies are absolutely essential for the website to function properly. This category only includes cookies that ensures basic functionalities and security features of the website. These cookies do not store any personal information.
Any cookies that may not be particularly necessary for the website to function and is used specifically to collect user personal data via analytics, ads, other embedded contents are termed as non-necessary cookies. It is mandatory to procure user consent prior to running these cookies on your website.