Steps: to set enviroment variables for calabash android on windows (with screenshots)
- Right click on my computer
- open Advanced settings -> Environment variables
- create new variable
- Put value as 'ANDROID_HOME' and set value as path to android SDK ex: c:\xxxfolder\sdk
 |
All Steps |
- Set another variable JAVA_HOME with value as path to JAVA JDK folder
 |
Env variable |
- locate platform-tools under android-sdk folder, copy the path and open PATH env variable , Then add ';' to end of existing value of path variable. then paste the platform-tools path
 |
Set Android Path |
- Repeat step 6 for tools folder located under android-sdk
- Now close terminal or command prompt
- relaunch command prompt
- type SET and press enter in command prompt to check if env variables are set
- also type 'adb devices' and check if adb command is added to existing path.
Good Post! Thank you so much for sharing this pretty article.
ReplyDelete