不会更改应用到Android库项目,直到重新启动Eclipse中 [英] Changes to Android library project are not applied until restarting Eclipse

查看:115
本文介绍了不会更改应用到Android库项目,直到重新启动Eclipse中的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个使用的是Android库项目主要Android应用程序。当我改变我的库项目和生成项目全部构建在主体工程未检测到更改,直到我清理主要项目或关闭并重新打开Eclipse的。

I have a main Android application that is using an Android library project. When I change my library project and Build Project or Build All the changes are not detected in main project until I clean the main project or close and reopen Eclipse.

如何CON我解决这个问题?有没有快速的解决办法?

How con I solve this problem? Is there any rapid solution?

更新

我使用的:

Eclipse的3.7.1

Eclipse 3.7.1

Android的SDK API版本15 3

Android SDK API 15 Rev 3

Android SDK工具启19

Android SDK Tools Rev 19

Android SDK中平台的工具,启11

Android SDK Platform-tools Rev 11

推荐答案

解决方法1)我在点击 Android的依赖关系 Package Explorer中并pressed F5 (刷新)并建成了主体工程和问题解决了。

Solution 1) I clicked on Android Dependencies in Package Explorer and pressed F5 (refresh) and built the main project and problem solved.

解决方案2) 这个答案也适用于这个问题。它说,你可以将项目添加到构建路径。 (右键单击项目 - >属性 - > Java构建路径 - >项目 - >添加)。

Solution 2) this answer also works for this problem. It says you can add the project to the build path. ( Right click on project -> properties -> java build path -> Projects -> Add).

订单和出口部分,确保库上方的 Android的依赖关系

Under the Order and Export section, make sure the library is above the Android Dependencies.

这篇关于不会更改应用到Android库项目,直到重新启动Eclipse中的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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