如何避免“刷新外部文件夹”在Eclipse的Android开发中 [英] How to avoid "Refreshing external Folders" in Android development in Eclipse

查看:153
本文介绍了如何避免“刷新外部文件夹”在Eclipse的Android开发中的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有这个烦人的问题需要10-20秒,有时更多的是每次我的Android项目被刷新或重建。

I am having this annoying problem which takes 10-20 seconds and sometimes more every time my android project is refreshed or rebuilt.

我搜索到Android论坛,还有在stackoverflow中,但解决方案没有意义请给我解决方案或链接。

I searched for android forums and also in stackoverflow and but solutions does not make sense. Please give me the solution or link to it.

我的android项目依赖于两个外部java lib和android libs。告诉我,如果你需要更多的信息。

My android project depends on two external java libs and android libs. Tell me if you need more info.

早些时候我问过这个问题,它解决了这个问题,删除'源附件' 。但我相信这不是一个好的解决方案,因为我需要源附加到jar。它有助于调试,代码浏览。如果没有附加源,那么你的断点就停在那里,你不能进入可读的来源。

Earlier I asked this question and it solved the problem by removing 'source attachment'. But I believe it is not a good solution because I need source to be attached with jar. It helps while debugging, code browsing. If source is not attached then, your breakpoint stops there and you can't go in readable source.

需要更好的解决方案。是否有启动器选项?当应用启动时,它会被禁用。或建立选项?

Better Solution Needed. Is there a launcher option? which disables when app launched. or build options?

推荐答案

原因是您附加了源与你的依赖罐子。只需从类路径中删除源代码即可。

The reason for this is that you have attached source with your dependent jars. Just the remove the source from the class path. This how it can be done.

右键单击项目 - >选择构建路径 - > 配置构建路径.. - >选择

Right click on the project -> Select Build Path -> Configure Build Path.. -> Select Libraries

选择来源附件删除按钮将突出显示。按删除确定

Select the Source attachment and Remove button will highlight. Press Remove and OK.

我认为应该解决您的问题。

I think that should fix your issue.

这篇关于如何避免“刷新外部文件夹”在Eclipse的Android开发中的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆