

- #Android appium on mac emulator setup for mac os#
- #Android appium on mac emulator setup install#
- #Android appium on mac emulator setup android#
#Android appium on mac emulator setup install#
Then in your Terminal window execute following command: npm install wd


Then in your Terminal window execute following command: npm install -g appium Then in your Terminal window execute following command: npm install -g grunt-cli echo 'export PATH=$HOME/local/bin:$PATH' > ~/.bashrcĪfter installation from Step 4 is complete, run following command in your Terminal window: curl | sh It will take some time to install NODE, so be patient. Copy and pasting it all together will work.
#Android appium on mac emulator setup android#
But Android SDK has to be added.Ĭopy and paste following sequence of commands into your Terminal window and press ENTER. To run tests on iOS devices, you will only need to install XCode, no need to add that to your Bash profile. Obviously to run tests on Android device, you will need to download Android SDK and add it to your Bash Profile as well. > This is what your Bash Profile should look like: export PATH="/Users/your_username/Desktop/adt-bundle-mac-x86_64-20140702/sdk/platform-tools":$PATHĮxport PATH="/Users/your_username/Desktop/adt-bundle-mac-x86_64-20140702/sdk/tools":$PATHĮxport ANDROID_HOME=/Users/your_username/Desktop/adt-bundle-mac-x86_64-20140321/sdkĮxport PATH="/Users/your_username/Desktop/apache-maven-3.2.2/bin":$PATHĮxport JAVA_HOME=$(/usr/libexec/java_home -v 1.6) Setup Maven (Download and set Bash profile PATH for Maven): In your bash add the following path using following format: export PATH=$HOME/local/bin:$PATH
#Android appium on mac emulator setup for mac os#
JAVA 6 for Mac OS has to be downloaded from Apple's support page: What you will need to do is to set CHMOD to 777 to the directories where components of Appium are trying to write while installing and then rerun all steps again. If you face some errors while creating or saving data into certain directories, that is caused by the luck of write permissions set to those directories. There could be one problem while setting up Appium using bellow steps. My steps make it possible to install and setup Appium the right way without need to use SUDO for installation. Appium will not run if NODE or Appium itself is installed using SUDO and MAC won't let you install neither without using SUDO. I hope this quick guide will help the next engineer to save some time on setting up Appium to run automation on Android devices. Answered by Igor Vishnevskiy I have been looking for the answer everywhere on the internet and could not find anything.
