As per title say, I want to add the path for Android SDK to my Environment Variable so I can just call them from CMD outside their directory.
In case of fail, check your directory, make sure it is correct when you paste it.
Good luck and God speed.
- Open Windows Explorer, look at the side bar, right click on "This PC"
- It will displays some option, straight up look at the end of list, which is "Properties" and click!
- It will open a windows and display some information about your PC
- Look on the left side bar, find "Advance System Setting" and Click on it.
- It will prompt another windows titled "System Properties". Look for a button named "Environment Variables", and click on it!
- You'll see another windows titled "Environment Variable". Proceed to add the path of your Android SDK and your Java Development Kit (JDK) and Java Runtime Environment (JRE) there.
In my case, I already change the installation path to C: so I can easily locate the directory. - In the same window, Select "Path" under System variables, and then click button "Edit...".
- Add "bin" path for you JDK and JRE in the path. Then, add "tools" and "platform-tools" path also in it.
- Once finish, click button "OK" on all windows.
- Now, open your command prompt. verify those setting by typing command such as:
java - to check JRE
javac - to check JDK
adb - to check Android SDKIf all command prompt shows proper answer, then your configuration is completed.
In case of fail, check your directory, make sure it is correct when you paste it.
Good luck and God speed.
Comments
Post a Comment