在Android调试时,一旦将android的源码attach上,以后程序稍有改动,就会发现每次编译前有很长时间的Refreshing external folders,让人不厌其烦。
Select the Project | Preferences menu.
Select Java Build Path
Expland Android
expand android.jar
See that Source attachment is set to your source directory. Select it and hit theRemove button.。
1. 打开Windows-Preferences配置窗口,找到Install/Update – Available Software Sites,将里面不用的信息删除,将本次更新不需要的停用(选中之后然后点右边的Disable按钮)。
2. 在在线安装插件的Install窗口,将下面的 Contact all update sites during install to find required software 前面的选项去。
经过上面两步设置之后,再次更新的话速度就会提升很多,如果被墙的话可以设置代理或者先下载下来,然后在本地安装。
在Android调试时,一旦将android的源码attach上,以后程序稍有改动,就会发现每次编译前有很长时间的Refreshing external folders,让人不厌其烦。
Select the Project | Preferences menu.
Select Java Build Path
Expland Android
expand android.jar
See that Source attachment is set to your source directory. Select it and hit theRemove button.
setp1:找到位置
step2 全部选中:
点击“disabled”