簡體   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