The following processes: -cmd.exe -java.exe are locking the following directory:

Warning:
The following processes:
-cmd.exe
-java.exe
are locking the following directory:
XXX


"XXX"是你的android SDK目录 ,解决办法是:

1.关闭eclipse,清除android_sdk下面的temp里的所有文件,重新打开sdk manager更新(这个方法我用上没效果)


2.我是用这个方法成功的:把android sdk 下面的tools文件COPY一份,新建toolsCopy文件夹,在toolsCopy里面点击android.bat,然后再更新,就OK了。



参考:http://stackoverflow.com/questions/10473971/the-following-processes-cmd-exe-java-exe-are-locking-the-following-directory


           http://stackoverflow.com/questions/13587478/sdk-manager-failed-to-install-java-exe-locking-directory

你可能感兴趣的:(The following processes: -cmd.exe -java.exe are locking the following directory:)