Search code examples
androidxcopy

Android SDK manager shows xcopy is not recognized while updating project


Whenever i try to update my project using : android update project --path , it shows the following error given below. my android sdk path is : S:\Androidapp\adt-bundle-windows-x86-20130514\sdk

i have my java environment variable: JAVA_HOME :

%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;C:\Program Files (x86)\Java\jdk1.7.0_21\bin

ERROR at command prompt:

F:\tess-two-master\tess-two> S:\Androidapp\adt-bundle-windows-x86-20130514\sdk\tools\android update project -p F:\tess-two-master\tess-two.
'xcopy' is not recognized as an internal or external command,
operable program or batch file.
The system cannot find the path specified.
The system cannot find the path specified.
The system cannot find the path specified.
The system cannot find the path specified.
The system cannot find the path specified.
The system cannot find the path specified.
The system cannot find the path specified.
The system cannot find the path specified.
The system cannot find the path specified.
The system cannot find the path specified.
The system cannot find the path specified.
The system cannot find the path specified.
The system cannot find the path specified.
The system cannot find the path specified.
The system cannot find the path specified.
The system cannot find the path specified.
The system cannot find the path specified.
The system cannot find the path specified.
The system cannot find the path specified.
The system cannot find the path specified.
The system cannot find the path specified.
Updated local.properties
Updated file F:\tess-two-master\tess-two.\proguard-project.txt

Solution

  • Give full path to the %SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem; DIR, Instead of the %%% Path