Chinaunix

标题: 奇怪的问题!(android-sdk-windows) [打印本页]

作者: renxiao2003    时间: 2010-09-18 22:49
标题: 奇怪的问题!(android-sdk-windows)
[attach]457627[/attach]

注意我用红色标注的地方。
正常运行命令的时候就显示x86,通过android的脚本就多出个符号。
脚本是android.bat
  1. for /f %%a in ('%java_exe% -jar lib\archquery.jar') do set swt_path=lib\%%a

  2. if "%1 %2"=="update sdk" goto StartUi
  3. if not "%1"=="" goto EndTempCopy
  4. :StartUi
  5. echo [INFO] Starting Android SDK and AVD Manager

  6. rem We're now going to create a temp dir to hold all the Jar files needed
  7. rem to run the android tool, copy them in the temp dir and finally execute
  8. rem from that path. We do this only when the launcher is run without
  9. rem arguments, to display the SDK Updater UI. This allows the updater to
  10. rem update the tools directory where the updater itself is located.

  11. set tmp_dir=%TEMP%\temp-android-tool
  12. xcopy %swt_path% %tmp_dir%\%swt_path% /I /E /C /G /R /Y /Q > nul
复制代码





欢迎光临 Chinaunix (http://bbs.chinaunix.net/) Powered by Discuz! X3.2