Set ANDROID_HOME in addition to Path Environment Variables For SDK In Windows

ANDROID_HOME : You must withdraw to laid upward ANDROID_HOME inward social club to move appium test. In previous post, We learnt almost how to download in addition to install android SDK software in addition to its dissimilar packages inward windows. In social club to role android surroundings to move appium software automation tests, You must withdraw to set ANDROID_HOME in addition to path surroundings variables for describing path of android SDK folders to your operating system. Bellow given steps volition explicate you lot how to set ANDROID_HOME in addition to Path Environment Variables inward windows for android SDK software.

PREREQUISITES : FIRST iii STEPS of appium automation software tutorial should last completed.


Set ANDROID_HOME Variable

After installation of dissimilar packages, You withdraw to laid upward ANDROID_HOME in addition to path surroundings variables. Follow the steps given bellow to laid upward it.
  • Open "Environment Variables" dialog from win outset carte -> Right click on My Computer -> Select properties -> Advanced organisation settings -> Environment Variables push from Advanced tab. You tin persuasion detailed steps to opened upward Environment Variables dialog in THIS POST.
  • Click on New push nether User Variable table. It volition opened upward New User Variable dialog.
  • Set Variable Name = ANDROID_HOME in addition to Variable value = E:\SDK (Path of SDK folder). Path tin last dissimilar for you lot every bit per your SDK folder place every bit described inward previous post.
  • Click on OK push to close New User Variable dialog every bit shown inward bellow image.
ANDROID_HOME

Set Path Variables
  • Open SDK Folder from E: drive.
  • You volition notice "tools" in addition to "platform-tools" folders within SDK folder.
  • Copy path of both these folders. e.g. E:\SDK\tools in addition to E:\SDK\platform-tools\
  • Open "Environment Variables" dialog every bit described above.
  • Locate Path variable line of piece of employment nether System Variables table.
  • Edit Path variable past times clicking on Edit button. It volition opened upward Edit  System Variables dialog.
  • Append "tools" in addition to "platform-tools" folder's amount path at the terminate of line of piece of employment every bit shown inward bellow image. e.g. ;E:\SDK\tools;E:\SDK\platform-tools\;
set ANDROID_HOME

  • Now unopen all dialog past times clicking on OK buttons of all opened dialog every bit shown inward higher upward image.
Verify Android Is Installed And Configured Properly
To cheque if android is configured properly or not,
  • Open ascendance prompt.
  • Type ascendance android as shown inward bellow image.
  • It volition opened upward Android SDK Manager dialog every bit shown inward bellow image.
Verify Android Is Installed


That agency android is configured properly inward your system.

Now ANDROID_HOME in addition to Path Environment Variables are laid upward for android SDK inward windows environment. So android surroundings is configured in addition to receive to role alongside appium to execute software automation tests. Next post service volition depict you lot how to integrate SDK alongside eclipse using Eclipse ADT Plugin to role android SDK alongside eclipse.


More interesting articles here :Generation Enggelmundus Internet Marketing Tool here :Zeageat IM http://www.software-testing-tutorials-automation.com/
Post a Comment (0)
Previous Post Next Post