Skip to content

Commit f8df67d

Browse files
authored
Update README.md
1 parent 8940a77 commit f8df67d

File tree

1 file changed

+56
-57
lines changed

1 file changed

+56
-57
lines changed

README.md

Lines changed: 56 additions & 57 deletions
Original file line numberDiff line numberDiff line change
@@ -11,67 +11,66 @@ Download or Clone the repo in your local machine
1111
- Clone the repo in that folder
1212

1313
**STEP-2:**
14-
Edit the PATH variables
14+
Edit the `PATH` variables
1515

1616
1. Open the environment variables file
1717

18-
- For Linux/Mac (Unix based), edit the bash profile file</br>
19-
- In Linux: `vi ~/.bashrc`</br>
20-
- In Mac OSX: `vi ~/.bash_profile`</br>
18+
- For Linux/Mac (Unix based), edit the bash profile file</br>
19+
-- In Linux: `vi ~/.bashrc`</br>
20+
-- In Mac OSX: `vi ~/.bash_profile`</br>
2121

22-
- For Windows, edit the [environment variables](http://www.360logica.com/blog/how-to-set-path-environmental-variable-for-sdk-in-windows/) based</br>
23-
- Click Start (Orb) menu button</br>
24-
- Right click on Computer icon</br>
25-
- Click on Properties. This will bring up System window in Control Panel</br>
26-
- Click on Advanced System Settings on the left. This will bring up the System Properties window with Advanced tab selected </br>
27-
- Click on Environment Variables button on the bottom of the dialog. This brings up the Environment Variables dialog</br>
28-
- In the System Variables section (or User variables if system variables is uneditable), scroll down till you see Path</br>
29-
- Click on Path to select it, then the Edit button. This will bring up the Edit System Variable dialog</br>
30-
- While the Variable value field is selected, press the End key on your keyboard to go to the right end of the line, or use the arrow keys to move the marker to the end</br>
31-
32-
2. Add/append the following adb paths ( Make sure to use your sdk path for ANDROID_HOME below )</br>
33-
- For Linux / Mac (Unix based)</br>
34-
35-
`export ANDROID_HOME=~/Setup/android/sdk` <- Enter the Android sdk path in your machine</br>
36-
37-
`export ANDROID_TOOLS=${ANDROID_HOME}/tools`</br>
38-
`export ANDROID_PTOOLS=${ANDROID_HOME}/platform-tools`</br>
39-
`export ANDROID_BTOOLS=${ANDROID_HOME}/build-tools/26.0.0` <- Check and add the actual builds-tools subfolder</br>
40-
`export PATH=${PATH}:$ANDROID_HOME:$ANDROID_TOOLS:$ANDROID_PTOOLS:$ANDROID_BTOOLS:$ANDROID_TOOLS/bin`</br>
41-
42-
- For Windows</br>
43-
44-
-- Add these variables</br>
45-
46-
Variable name: `ANDROID_HOME`</br>
47-
Variable value: `%USERPROFILE%\AppData\Local\Android\Sdk`</br>
48-
49-
Variable name: `ANDROID_TOOLS`</br>
50-
Variable value: `%ANDROID_HOME%\tools`</br>
51-
52-
Variable name: `ANDROID_PTOOLS`</br>
53-
Variable value:`%ANDROID_HOME%\platform-tools`</br>
54-
55-
Variable name: `ANDROID_BTOOLS`</br>
56-
Variable value:`%ANDROID_HOME%\build-tools\26.0.1`</br>
57-
58-
-- Edit the PATH variable and add</br>
59-
`%ANDROID_HOME%`</br>
60-
`%ANDROID_TOOLS%`</br>
61-
`%ANDROID_PTOOLS%`</br>
62-
`%ANDROID_BTOOLS%`</br>
63-
64-
3. Save and close</br>
65-
66-
4. Then run
67-
- In Linux: `source ~/.bashrc`</br>
68-
- In MaxOSX: `source ~/.bash_profile`</br>
69-
- In Windows: May be restart the system
70-
71-
5. Close all the existing terminals and reopen
22+
- For Windows, edit the [environment variables](http://www.360logica.com/blog/how-to-set-path-environmental-variable-for-sdk-in-windows/) based</br>
23+
-- Click `Start` (Orb) menu button</br>
24+
-- Right click on Computer icon</br>
25+
-- Click on `Properties`. This will bring up System window in Control Panel</br>
26+
-- Click on `Advanced System Settings` on the left. This will bring up the `System Properties` window with `Advanced` tab selected </br>
27+
-- Click on `Environment Variables` button on the bottom of the dialog. This brings up the `Environment Variables` dialog</br>
28+
-- In the `System Variables` section (or `User variables` if `System Variables` is uneditable), scroll down till you see `Path`</br>
29+
-- Click on `Path` to select it, then the `Edit` button. This will bring up the `Edit System Variable` dialog</br>
30+
-- While the `Variable value` field is selected, press the `End` key on your keyboard to go to the right end of the line, or use the arrow keys to move the marker to the end</br>
31+
32+
2. Add/append the following adb paths ( Make sure to use your sdk path for `ANDROID_HOME` below )</br>
33+
-- For Linux / Mac (Unix based)</br>
34+
35+
`export ANDROID_HOME=~/Setup/android/sdk` <- Enter the Android sdk path in your machine</br>
36+
`export ANDROID_TOOLS=${ANDROID_HOME}/tools`</br>
37+
`export ANDROID_PTOOLS=${ANDROID_HOME}/platform-tools`</br>
38+
`export ANDROID_BTOOLS=${ANDROID_HOME}/build-tools/26.0.0` <- Check and add the actual builds-tools subfolder</br>
39+
`export PATH=${PATH}:$ANDROID_HOME:$ANDROID_TOOLS:$ANDROID_PTOOLS:$ANDROID_BTOOLS:$ANDROID_TOOLS/bin`</br>
40+
41+
-- For Windows</br>
42+
43+
Add these variables:
44+
45+
Variable name: `ANDROID_HOME`
46+
Variable value: `%USERPROFILE%\AppData\Local\Android\Sdk` <- Enter the Android sdk path in your machine
47+
48+
Variable name: `ANDROID_TOOLS`
49+
Variable value: `%ANDROID_HOME%\tools`
50+
51+
Variable name: `ANDROID_PTOOLS`
52+
Variable value:`%ANDROID_HOME%\platform-tools`
53+
54+
Variable name: `ANDROID_BTOOLS`
55+
Variable value:`%ANDROID_HOME%\build-tools\26.0.1` <- Check and add the actual builds-tools subfolder
56+
57+
Edit the `PATH` variable and add:
58+
`%ANDROID_HOME%`
59+
`%ANDROID_TOOLS%`
60+
`%ANDROID_PTOOLS%`
61+
`%ANDROID_BTOOLS%`
62+
63+
4. Save and close</br>
64+
65+
5. Then run
66+
- In Linux: `source ~/.bashrc`</br>
67+
- In MaxOSX: `source ~/.bash_profile`</br>
68+
- In Windows: May be restart the system
69+
70+
6. Close all the existing terminals and reopen
7271

7372
**STEP-3:**
7473
Setup your test environments:
75-
- Open the mySetup.txt under "library" folder
76-
- Search for "myShellScripts" variable and set it with the path that the scripts are present
77-
- Search for "myProjDir" variable and set it with your system test folder path (include the complet path inside quotes)
74+
- Open the `mySetup.txt` under "library" folder
75+
- Search for `myShellScripts` variable and set it with the path that the scripts are present
76+
- Search for `myProjDir` variable and set it with your system test folder path (include the complet path inside quotes)

0 commit comments

Comments
 (0)