How To Access ADB from Anywhere
on Windows PC
Quote
Step-1:
Click START, go to 'Control Panel' and open 'System'
Tap the 'Advanced' Tab
Now You can See 'Environmental Variables' Tab on lower end-->Open It.
Step-2:
Now in System Variables
Tap on 'Path' and then click 'Edit'
New window will open i.e. 'Edit System Variables' and will ask for Variable Path and Variable Value.
Step-3:
Now in 'Edit System Variables' window we have to add our adb.exe path in'Variable Value' separated by a ;
Now Whats your adb.exe path ? ?
You Need to add it to System Variable in Variable Value. Lets Find out..
If you have Copied '.android folder' on C:\ Then your adb.exe path should be
C:\.android
So add it in Variable value at the end separating it by ;
and then click 'Ok' to save the Path Value and subsequently Save and close 'System
If you have Installed Android SDK then your adb.exe lies in 'platform-tools'in SDK library on C:\
Hence your adb.exe path should be
C:\Android-SDK\platform-tools
So add it in Variable value at the end separating it by ;
and then click 'Ok' to save the Path Value and subsequently Save and close 'System'
Must Remember: If you cange the location of your adb.exe folder from C:/ to somewhere elese then You must edit the same in System Variable to continue to get this Universal access advantage.
Now Open Cmd (Command Prompt) and exclude the "cd C:/" step and directly write 'adb devices' and your devices will get listed.
Here are Some Examples to access adb.exe from various locations:
In other words now you can access adb or fastboot activity from any cmd window opened from anywhere in PC. Now No need to copy your adb/fastboot stuff to APKtool or to other development folders from where u want to access adb or fastboot commands to install/pull/push APKs or files.
Download-
JDK
HIT "THANK YOU" IF IT HELPED YOU - Here
No comments:
Post a Comment