Doing so, will make
"android"
command available in CMD/CLI so you can invoke various Android SDK tools commands such as :
- Creating Android Project (YES, create android project)
- Update Android SDK from the console
- Manage Android SDK
- List SDK Packages
- Connect your Android device to your PC
- Install your app from PC to your device
- Copy file from PC to Android device or vice versa
- Take screenshot of your connected device right from the PC
- Record your device activity as video
- Hacking your droid phone from PC
- Etc.
How do we set android to system environment?
This small step is the gate :D This will register the path permanently on your system, unless you remove or edit it ..NOTICE: This assume that you've already installed Android SDK Tools (Manager) previously.
Here's how to set Android SDK to system Environment for Windows:
- Open system properties from CMD, type :
control sysdm.cpl,,3
This will open System Properties window - Now, you are on "Advanced" tab , hit "Environment Variables"
- On system variables Hit "new "
- Add
ANDROID_SDK
as var name and for value , enter where is your Android SDK location.
Hit OK
If your SDK is NOT onE:\AndroidSDK
that’s fine, just enter that .This will be vary from user to user - Go back to System Variables , and look at "Path" variable and hit EDIT
- Put your cursor in the END of your variable value and type
;%ANDROID_HOME%/tools;%ANDROID_HOME%/platform-tools;
Make sure to add ";" before%ANDROID_HOME%
if it not there. - Hit OK
Set Android SDK to system environment |
Congratulation Android SDK has been set and registered to your system. To check , try to type
"android sdk"
from your CMD/CLI.If the Android SDK's GUI appear, it means you have successfully set it to the environment.
If it says
"android is not recognized as …."
, means there is something wrong when you registered /set the SDK
No comments:
Post a Comment