不会更改应用到Android库项目,直到重新启动Eclipse中重新启动、项目、Android、Eclipse

由网友(丅輩孒゛再續約つ)分享简介:我有一个使用的是Android库项目主要Android应用程序。当我改变我的库项目和生成项目或全部构建在主体工程未检测到更改,直到我清理主要项目或关闭并重新打开Eclipse的。I have a main Android application that is using an Android library pro...

我有一个使用的是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.

阅读全文

相关推荐

最新文章