【问题标题】:Android SDK manager shows xcopy is not recognized while updating projectAndroid SDK 管理器显示更新项目时无法识别 xcopy
【发布时间】:2013-07-07 11:31:53
【问题描述】:

每当我尝试使用 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

【问题讨论】:

    标签: android xcopy


    【解决方案1】:

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

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

    • 基尔特 B.

    【讨论】:

      【解决方案2】:

      给出%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem; DIR 的完整路径,而不是 %%% 路径

      【讨论】:

      • 你能详细说明这个答案我应该把这个放在哪里
      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2023-03-29
      • 1970-01-01
      相关资源
      最近更新 更多