- 论坛徽章:
- 59
|
注意我用红色标注的地方。
正常运行命令的时候就显示x86,通过android的脚本就多出个符号。
脚本是android.bat
- for /f %%a in ('%java_exe% -jar lib\archquery.jar') do set swt_path=lib\%%a
- if "%1 %2"=="update sdk" goto StartUi
- if not "%1"=="" goto EndTempCopy
- :StartUi
- echo [INFO] Starting Android SDK and AVD Manager
- rem We're now going to create a temp dir to hold all the Jar files needed
- rem to run the android tool, copy them in the temp dir and finally execute
- rem from that path. We do this only when the launcher is run without
- rem arguments, to display the SDK Updater UI. This allows the updater to
- rem update the tools directory where the updater itself is located.
- set tmp_dir=%TEMP%\temp-android-tool
- xcopy %swt_path% %tmp_dir%\%swt_path% /I /E /C /G /R /Y /Q > nul
复制代码 |
|