Warning: file_get_contents(/data/phpspider/zhask/data//catemap/3/android/226.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Android SDK管理器显示更新项目时无法识别xcopy_Android_Xcopy - Fatal编程技术网

Android SDK管理器显示更新项目时无法识别xcopy

Android SDK管理器显示更新项目时无法识别xcopy,android,xcopy,Android,Xcopy,每当我尝试使用以下命令更新我的项目:android update project--path,它都会显示下面给出的错误。 我的android sdk路径是:S:\Androidapp\adt-bundle-windows-x86-20130514\sdk 我有我的java环境变量:java\u HOME: %SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;C:\Program Files (x86)\Java\jdk1.7

每当我尝试使用以下命令更新我的项目:
android update project--path
,它都会显示下面给出的错误。 我的android sdk路径是:
S:\Androidapp\adt-bundle-windows-x86-20130514\sdk

我有我的java环境变量:java\u 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

提供
%SystemRoot%\system32;%的完整路径SystemRoot%;%SystemRoot%\System32\Wbem目录,而不是%%%路径

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

我遇到了相同的问题。一时兴起,我只是从文件夹中复制了xcopy.exe并将其粘贴到android.bat所在的文件夹中,然后重新运行android.bat文件。瞧,它成功了

这不是一个优雅的解决方案,但像我这样的新手会在必要时使用蛮力;-)

  • 科特B

    • 我遇到了同样的问题。一时兴起,我只是从文件夹中复制了xcopy.exe并将其粘贴到android.bat所在的文件夹中,然后重新运行android.bat文件。瞧,它成功了

      这不是一个优雅的解决方案,但像我这样的新手会在必要时使用蛮力;-)

      • 科特B

      请详细说明这个答案,我应该把这个放在哪里