Skip to content

Instantly share code, notes, and snippets.

@aratakokubun
Last active August 29, 2015 14:07
Show Gist options
  • Save aratakokubun/c9c82eb6bab43a3424c8 to your computer and use it in GitHub Desktop.
Save aratakokubun/c9c82eb6bab43a3424c8 to your computer and use it in GitHub Desktop.
Eclipse Android SDK Content Loader hangs at 0% 対応のbat作ってみた ref: http://qiita.com/aratakokubun/items/dfe61304dea01d3ce228
@echo off
rem This bat file works to resolve Eclipse Android SDK Content Loader hanging problem.
rem Change directory to userprofile.android
cd %USERPROFILE%\.android%
echo %CD%
rem search and delete file "ddms.cfg"
set DEL_FILE="ddms.cfg"
IF EXIST %DEL_FILE% (
del %DEL_FILE%
echo Delete file ddms.cfg
) ELSE (
echo !!CAUTION!!
echo file does not exist. Please Delete Manually
GOTO END
)
rem search and delete files in cache
set CACHE_DIR="cache"
IF EXIST %CACHE_DIR% (
del %CACHE_DIR%\%
echo Delete files in cache
) ELSE (
echo !!CAUTION!!
echo file does not exist. Please Delete Manually
GOTO END
)
rem finish process
:END
pause
exit
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment