繁体   English   中英

Android SDK Manager显示更新项目时无法识别xcopy

[英]Android SDK manager shows xcopy is not recognized while updating project

每当我尝试使用android update project --path ,都会显示以下错误。 我的android sdk路径是: S:\\Androidapp\\adt-bundle-windows-x86-20130514\\sdk

我有我的Java环境变量:JAVA_HOME:

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

在命令提示符下出现错误:

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

我遇到了同样的问题。 一时兴起,我只是从<\\ windows \\ system32>文件夹复制xcopy.exe并将其粘贴到android.bat所在的<\\ adt-bundle-windows-x86-20131030 \\ sdk \\ tools>文件夹中,然后重新运行android.bat文件。 瞧,这行得通!

这不是一个很好的解决方案,但是像我这样的新手在必要时会采取蛮横的态度;-)

  • 柯特·B。

提供完整路径到%SystemRoot%\\system32;%SystemRoot%;%SystemRoot%\\System32\\Wbem; DIR,而不是%%%路径

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM