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

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

问题描述

我有这个恼人的问题,这需要10-20秒,有时甚至更多,每次我的Andr​​oid项目被刷新或重建。

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

我搜索了Android的论坛以及在计算器和解决方案,但没有意义。请给我的解决方案或链接。

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.

我的Andr​​oid项目取决于两个外部Java库和android库。告诉我,如果你需要更多的信息。

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

前面我问了这个问题,并通过删除源代码连接'解决了这个问题。但我相信这不是一个很好的解决方案,因为我需要采购要附有罐子。它有助于在调试时,code浏览。如果源没有连接,然后,断点停在那里,你不能进去读源。

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

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

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天全站免登陆